Dump client infomation when client is added
[apps/agl-service-windowmanager.git] / src / app.hpp
index b25f568..1950680 100644 (file)
@@ -243,9 +243,10 @@ struct App {
    void emit_invisible(char const *label);
    void emit_visible(char const *label);
 
-   void do_allocate_window_resource(unsigned sequence_number);
+   bool do_allocate_window_resource(unsigned sequence_number);
    void do_enddraw(unsigned sequence_number);
    void process_request();
+   void set_timer();
 
    void activate(int id);
    void deactivate(int id);
@@ -255,6 +256,12 @@ struct App {
    void try_layout(struct LayoutState &state,
                    struct LayoutState const &new_layout,
                    std::function<void(LayoutState const &nl)> apply);
+
+   // The following function is temporary.
+   // Then will be removed when layermanager is finished
+   void lm_layout_change(unsigned req, const char* drawing_name);
+   void lm_enddraw(const char* drawing_name);
+   const char *check_surface_exist(unsigned req, const char *drawing_name);
 };
 
 }  // namespace wm