[ENROLLEE] Tizen enrollee sample application build using scons command
[platform/upstream/iotivity.git] / service / easy-setup / sampleapp / enrollee / tizen / EnrolleeGUISample / inc / enrolleewifi.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 ESENROLLEE_H__
22 #define ESENROLLEE_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 #include "stdio.h"
33 #include "easysetup.h"
34 #include "wifi.h"
35 #include "escommon.h"
36 using namespace OC;
37
38 #ifdef  LOG_TAG
39 #undef  LOG_TAG
40 #endif
41 #define LOG_TAG "TIZEN ES"
42
43 #if !defined(PACKAGE)
44 #define PACKAGE "org.tizen.esenrolleesample"
45 #endif
46
47 #define ELM_DEMO_EDJ "opt/usr/apps/org.tizen.esenrolleesample/res/ui_controls.edj"
48
49 void StartEnrollee(void *data, Evas_Object *obj, void *event_info);
50 void *listeningFunc(void*);
51 static char ssid[] = "DLNA_LISMORE1";//"EasySetup1234"; //
52 static char passwd[] = "dlna@010203";//"EasySetup123";//
53 static bool g_OnBoardingSucceeded = false;
54 static bool g_ProvisioningSucceeded = false;
55
56 static bool g_isInitialized = false;
57 #endif