14 lines
463 B
C++
14 lines
463 B
C++
#ifndef IHALCPP_H
|
|
#define IHALCPP_H
|
|
#include "StatusCode.h"
|
|
#include <memory>
|
|
class IHalCpp
|
|
{
|
|
public:
|
|
IHalCpp() = default;
|
|
virtual ~IHalCpp() = default;
|
|
static std::shared_ptr<IHalCpp> &GetInstance(std::shared_ptr<IHalCpp> *impl = nullptr);
|
|
virtual StatusCode Init(void) { return CreateStatusCode(STATUS_CODE_VIRTUAL_FUNCTION); }
|
|
virtual StatusCode UnInit(void) { return CreateStatusCode(STATUS_CODE_VIRTUAL_FUNCTION); }
|
|
};
|
|
#endif |