[TIZEN] Added Resource Container Sample Application.
[platform/upstream/iotivity.git] / service / resource-encapsulation / examples / tizen / RESampleClientApp / inc / recontainerclient.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 #include "reclientmain.h"
22
23 #include "RCSRemoteResourceObject.h"
24
25 #include <app.h>
26 #include <Elementary.h>
27 #include <system_settings.h>
28 #include <efl_extension.h>
29 #include <dlog.h>
30
31 #ifndef RECONTAINER_H__
32 #define RECONTAINER_H__
33
34 # define LOG_TAG "recontainerclient"
35
36 using namespace OIC::Service;
37
38 void *showContainerAPIs(void *data);
39
40 void onContainerDiscovered(std::shared_ptr<RCSRemoteResourceObject> foundResource);
41
42 static void find_resource_cb(void *data, Evas_Object *obj, void *event_info);
43
44 static void findLight(void *data, Evas_Object *obj, void *event_info);
45
46 static void findSoftsensor(void *data, Evas_Object *obj, void *event_info);
47
48 #endif // RECONTAINER_H__