Imported Upstream version 1.0.0
[platform/upstream/iotivity.git] / service / resource-container / examples / tizen / ContainerClientApp / inc / containerclient.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 "clientmain.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 CONTAINERCLIENT_H__
32 #define CONTAINERCLIENT_H__
33
34 using namespace OIC::Service;
35
36 void *showContainerAPIs(void *data);
37
38 void onContainerDiscovered(std::shared_ptr<RCSRemoteResourceObject> foundResource);
39
40 static void findLight(void *data, Evas_Object *obj, void *event_info);
41
42 static void findSoftsensor(void *data, Evas_Object *obj, void *event_info);
43
44 static void cancelDiscoverResource(void *data, Evas_Object *obj, void *event_info);
45
46 #endif // CONTAINERCLIENT_H__