iotivity 0.9.0
[platform/upstream/iotivity.git] / service / notification-manager / NotificationManager / include / OICPlatformConfig.h
1 /*
2  * OICPlatformConfig.h
3  *
4  *  Created on: 2014. 10. 15.
5  *      Author: jyong2
6  */
7
8 #ifndef OICPLATFORMCONFIG_H_
9 #define OICPLATFORMCONFIG_H_
10
11 #include "OCApi.h"
12 #include "OCPlatform.h"
13 #include "OCResource.h"
14 #include "OCResourceRequest.h"
15 #include "OCResourceResponse.h"
16 #include "ocstack.h"
17
18 using namespace OC;
19 using namespace OCPlatform;
20
21 class OICPlatformConfig
22 {
23 private:
24
25         OICPlatformConfig();
26         ~OICPlatformConfig();
27
28         static OICPlatformConfig *s_instance;
29         static mutex s_mutexForCreation;
30         static PlatformConfig s_cfg;
31
32 public:
33
34         void initialize();
35         static OICPlatformConfig *getInstance();
36         void setIP(std::string ipaddress);
37 };
38
39 #endif /* OICPLATFORMCONFIG_H_ */