Add timer for restriction mode
[apps/agl-service-windowmanager.git] / src / policy_manager / policy_manager.hpp
index 57856dc..6926bc4 100644 (file)
@@ -34,7 +34,6 @@ public:
     using Handler = std::function<void(json_object *)>;
 
     int initialize();
-    void setEventHandler(PolicyManager::Handler handler);
     int inputEvent(json_object* json_in, PolicyManager::Handler notify_state);
     std::string roleToCategory(const char* role);
 
@@ -54,10 +53,7 @@ private:
     std::unordered_map<std::string, std::string> category2role_;
     std::unordered_map<std::string, std::string> role2defaultarea_;
 
-    struct sd_event* sd_event_;
-
     int initializeSdEventLoop();
-    void checkPolicyEntry(int event, int delay_ms, PolicyManager::Handler handler);
 
     // Load role.db
     int loadRoleDb();