1 /******************************************************************
3 * Copyright 2015 Samsung Electronics All Rights Reserved.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
19 ******************************************************************/
21 #ifndef TMSAMPLEAPP_H__
22 #define TMSAMPLEAPP_H__
25 #include <Elementary.h>
26 #include <system_settings.h>
27 #include <efl_extension.h>
30 #include "OCPlatform.h"
32 #include "GroupManager.h"
33 #include "ThingsConfiguration.h"
34 #include "ThingsMaintenance.h"
40 #define LOG_TAG "tmsampleapp"
43 #define PACKAGE "org.tizen.tmsampleapp"
46 #define ELM_DEMO_EDJ "opt/usr/apps/org.tizen.tmsampleapp/res/ui_controls.edj"
48 #define FINDGROUP_TIMEOUT 5
49 #define FINDRESOURCE_TIMEOUT 6
51 #define DEFAULT_DEVICENAME "n"
52 #define DEFAULT_LOCATION "loc"
53 #define DEFAULT_LOCATIONNAME "locn"
54 #define DEFAULT_CURRENCY "c"
55 #define DEFAULT_REGION "r"
57 void group_cb(void *data, Evas_Object *obj, void *event_info);
58 void configuration_cb(void *data, Evas_Object *obj, void *event_info);
60 #endif // TMSAMPLEAPP_H__