[my-place] Change debug flag from TIZEN_ENGINEER_MODE to DEBUG_MODE.
[platform/core/context/context-provider.git] / src / my-place / utils / UserPlacesTypes.h
index 9365beb..cce02a1 100644 (file)
 #define VISIT_COLUMN_END_TIME                  "end_time"
 #define VISIT_COLUMN_WIFI_APS                  "wifi_aps"
 #define VISIT_COLUMN_CATEGORY                  "category"
-#ifdef TIZEN_ENGINEER_MODE
+#ifdef DEBUG_MODE
 #define VISIT_COLUMN_START_TIME_HUMAN          "start_time_human" // only for debug: human readable time data:
 #define VISIT_COLUMN_END_TIME_HUMAN            "end_time_human" // only for debug: human readable time data:
-#endif /* TIZEN_ENGINEER_MODE */
+#endif /* DEBUG_MODE */
 #define VISIT_COLUMN_LOCATION_VALID            "location_valid"
 #define VISIT_COLUMN_LOCATION_LATITUDE         "location_latitude"
 #define VISIT_COLUMN_LOCATION_LONGITUDE        "location_longitude"
 #define LOCATION_COLUMN_LONGITUDE              "longitude"
 #define LOCATION_COLUMN_ACCURACY               "accuracy"
 #define LOCATION_COLUMN_TIMESTAMP              "timestamp"
-#ifdef TIZEN_ENGINEER_MODE
+#ifdef DEBUG_MODE
 #define LOCATION_COLUMN_TIMESTAMP_HUMAN        "time_human" // only for debug: human readable time data:
 #define LOCATION_COLUMN_METHOD                 "method"
-#endif /* TIZEN_ENGINEER_MODE */
+#endif /* DEBUG_MODE */
 
 #define MYPLACE_SETTINGS_TABLE                 "Myplace_Settings"
 #define MYPLACE_SETTINGS_COLUMN_KEY            "key"
@@ -195,13 +195,13 @@ namespace ctx {
 
        typedef std::map<int, num_t> Categs; // scores of categories
 
-#ifdef TIZEN_ENGINEER_MODE
+#ifdef DEBUG_MODE
        enum LocationSource {
                LOCATION_METHOD_REQUEST = 0,
                LOCATION_METHOD_GET_LOCATION = 1,
                LOCATION_METHOD_GET_LAST_LOCATION = 2
        };
-#endif /* TIZEN_ENGINEER_MODE */
+#endif /* DEBUG_MODE */
 
        /*
         * location + timestamp + method
@@ -210,17 +210,17 @@ namespace ctx {
                Location coordinates;
                time_t timestamp;
 
-#ifdef TIZEN_ENGINEER_MODE
+#ifdef DEBUG_MODE
                LocationSource method;
 
                LocationEvent(double latitude_, double longitude_, double accuracy_, time_t timestamp_, LocationSource method_) :
                        coordinates(latitude_, longitude_, accuracy_),
                        timestamp(timestamp_), method(method_) {}
-#else /* TIZEN_ENGINEER_MODE */
+#else /* DEBUG_MODE */
                LocationEvent(double latitude_, double longitude_, double accuracy_, time_t timestamp_) :
                        coordinates(latitude_, longitude_, accuracy_),
                        timestamp(timestamp_) {}
-#endif /* TIZEN_ENGINEER_MODE */
+#endif /* DEBUG_MODE */
 
                void log();