20 lines
465 B
C++
20 lines
465 B
C++
#ifndef IPCCONFIG_H
|
|
#define IPCCONFIG_H
|
|
#include "StatusCode.h"
|
|
#include <memory>
|
|
enum class IpcConfigKey
|
|
{
|
|
TEST_NUM = 0,
|
|
END
|
|
};
|
|
class IpcConfig
|
|
{
|
|
public:
|
|
IpcConfig() = default;
|
|
virtual ~IpcConfig() = default;
|
|
static std::shared_ptr<IpcConfig> &GetInstance(std::shared_ptr<IpcConfig> *impl = nullptr);
|
|
const StatusCode Init(void);
|
|
const StatusCode UnInit(void);
|
|
const int GetInt(const IpcConfigKey &key);
|
|
};
|
|
#endif |