X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwindow_manager.hpp;h=b5b1c4d62efdf36257800827bc416e420d4134db;hb=6373ce04e2d6c6ae77246bcf7560447b3daaed3d;hp=00a798ca98279f3fd7ce46cc87ae3a7956ce0a8c;hpb=3e58f01b27b293717ce081ea094294890843eb06;p=apps%2Fagl-service-windowmanager.git diff --git a/src/window_manager.hpp b/src/window_manager.hpp index 00a798c..b5b1c4d 100644 --- a/src/window_manager.hpp +++ b/src/window_manager.hpp @@ -64,6 +64,7 @@ extern const char kKeyWidthPixel[]; extern const char kKeyHeightPixel[]; extern const char kKeyWidthMm[]; extern const char kKeyHeightMm[]; +extern const char kKeyIds[]; struct id_allocator { @@ -152,6 +153,8 @@ class WindowManager Event_SyncDraw, Event_FlushDraw, + Event_ScreenUpdated, + Event_Error, Event_Val_Max = Event_Error, @@ -164,6 +167,7 @@ class WindowManager "invisible", "syncdraw", "flushdraw", + "screen_updated", "error"}; struct controller_hooks chooks; @@ -255,6 +259,7 @@ class WindowManager WMError visibilityChange(const WMAction &action); WMError setSurfaceSize(unsigned surface, const std::string& area); WMError changeCurrentState(unsigned req_num); + void emitScreenUpdated(unsigned req_num); void setTimer(); void stopTimer();