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