Add category "system" for showing specific app on restriction mode ON
[apps/agl-service-windowmanager.git] / src / policy_manager / policy_manager.hpp
index f026edd..79792ee 100644 (file)
@@ -41,8 +41,9 @@ public:
 
     int initialize();
     void registerCallback(CallbackTable callback_table);
-    int inputEvent(json_object* json_in);
-    std::string roleToCategory(const char* role);
+    int setInputEventData(json_object* json_in);
+    int executeStateTransition();
+    void undoState();
 
 private:
     // Disable copy and move
@@ -60,23 +61,6 @@ private:
     std::unordered_map<std::string, std::string> category2role_;
     std::unordered_map<std::string, std::string> role2defaultarea_;
 
-#if 0
-    struct AreaState {
-        std::string name;
-        std::string role;
-    } AreaState;
-
-    struct LayoutState {
-        std::string name;
-        std::vector<AreaState> areas;
-    } LayoutState;
-
-    struct LayerState {
-        std::string name;
-        LayoutState layout;
-    } LayerState;
-#endif
-
     int initializeSdEventLoop();
 
     // Load role.db