14 lines
475 B
C++
14 lines
475 B
C++
#ifndef IHAL_CPP_H
|
|
#define IHAL_CPP_H
|
|
#include "ReturnCode.h"
|
|
#include <memory>
|
|
class IHalCpp
|
|
{
|
|
public:
|
|
IHalCpp() = default;
|
|
virtual ~IHalCpp() = default;
|
|
static std::shared_ptr<IHalCpp> &GetInstance(std::shared_ptr<IHalCpp> *impl = nullptr);
|
|
virtual RETURN_CODE_C Init(void) { return CreateReturnCode(C_RETURN_CODE_VIRTUAL_FUNCTION); }
|
|
virtual RETURN_CODE_C UnInit(void) { return CreateReturnCode(C_RETURN_CODE_VIRTUAL_FUNCTION); }
|
|
};
|
|
#endif |