aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/app.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/app.cpp b/src/app.cpp
index cbb8cfd..db95367 100644
--- a/src/app.cpp
+++ b/src/app.cpp
@@ -338,10 +338,10 @@ int App::init() {
// Store my context for calling callback for PolicyManager
rm::context = this;
-#if 1 // @@@@@
+ // TODO: This process is necessary for checking right of requested role.
+ // If other module check it, this process will be removed.
// Load app.db
this->loadAppDb();
-#endif
// Initialize PolicyManager
this->pm.initialize();
@@ -537,10 +537,6 @@ void App::allocateWindowResource(char const *event, char const *drawing_name,
// TODO:
// Check role
- // TODO:
- // If event is "activate" and area is not specifid,
- // get default value by using role
-
// Input event to PolicyManager
json_object* json_in = json_object_new_object();
json_object_object_add(json_in, "event", json_object_new_string(event));