fix: use EINA_* booleans instread of TRUE/FALSE
[platform/framework/web/wrt.git] / src / wrt-launcher / wrt-launcher.cpp
index 5c9fc0d..66e4824 100644 (file)
@@ -103,16 +103,16 @@ static bool attachDbConnection()
         }
         Catch(DPL::DB::SqlConnection::Exception::Base) {
             LogDebug("Fail to connect DB");
-            return FALSE;
+            return false;
         }
     }
-    return TRUE;
+    return true;
 }
 
 static bool display_widget_info()
 {
     if (!attachDbConnection()) {
-        return FALSE;
+        return false;
     }
 
     WidgetDAOReadOnlyList widgetList;
@@ -121,7 +121,7 @@ static bool display_widget_info()
         widgetList = WrtDB::WidgetDAOReadOnly::getWidgetList();
     } Catch (WrtDB::WidgetDAOReadOnly::Exception::DatabaseError) {
         LogError("Fail to get WidgetList");
-        return FALSE;
+        return false;
     }
 
     printf("%3s %32s %16s %64s %16s %24s\n",
@@ -345,7 +345,7 @@ int main(int argc, char* argv[])
                 }
                 Catch(DPL::DB::SqlConnection::Exception::Base) {
                     LogDebug("Fail to connect DB");
-                    return FALSE;
+                    return false;
                 }
             }
             DPL::OptionalString normal_str = DPL::FromUTF8String(temp_arg);
@@ -398,7 +398,7 @@ int main(int argc, char* argv[])
                 if (SERVICE_ERROR_NONE != ret) {
                     LogError("Fail to set debug mode [" << ret << "]");
                     service_destroy(serviceHandle);
-                    return FALSE;
+                    return false;
                 }
 
                 // set pid
@@ -407,7 +407,7 @@ int main(int argc, char* argv[])
                 if (SERVICE_ERROR_NONE != ret) {
                     LogError("Fail to set pid [" << ret << "]");
                     service_destroy(serviceHandle);
-                    return FALSE;
+                    return false;
                 }
 
                 ecore_init();