Imported Upstream version 0.9.1
[platform/upstream/iotivity.git] / service / notification-manager / SampleApp / tizen / NMSampleApp / inc / nmsampleapp.h
1 /******************************************************************
2  *
3  * Copyright 2015 Samsung Electronics All Rights Reserved.
4  *
5  *
6  *
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
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
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.
18  *
19  ******************************************************************/
20
21 #ifndef __NMSAMPLEAPP_H__
22 #define __NMSAMPLEAPP_H__
23
24 #include <app.h>
25 #include <Elementary.h>
26 #include <system_settings.h>
27 #include <efl_extension.h>
28 #include <dlog.h>
29
30 #include "OCPlatform.h"
31 #include "OCApi.h"
32
33 #ifdef  LOG_TAG
34 #undef  LOG_TAG
35 #endif
36 #define LOG_TAG "nmsampleapp"
37
38 #if !defined(PACKAGE)
39 #define PACKAGE "org.tizen.nmsampleapp"
40 #endif
41
42 #define ELM_DEMO_EDJ "opt/usr/apps/org.tizen.nmsampleapp/res/ui_controls.edj"
43
44 void start_cb(void *data, Evas_Object *obj, void *event_info);
45
46 void stop_cb(void *data, Evas_Object *obj, void *event_info);
47
48 void stop_hosting();
49
50 void *updateGroupLog(void *data);
51
52 #endif // __NMSAMPLEAPP_H__