You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
453 B
21 lines
453 B
// HelloHandler_v1.cpp |
|
#include "HelloWorldController.h" |
|
#include "RuntimeObjectSystem/ObjectInterfacePerModule.h" |
|
#include "StdioLogSystem.h" |
|
|
|
// 接口定义 |
|
enum CustomInterfaceIDs |
|
{ |
|
IID_HELLO_HANDLER = IID_ENDInterfaceID + 1 |
|
}; |
|
|
|
struct IHelloHandler : public IObject |
|
{ |
|
virtual std::string GetResponse() = 0; |
|
}; |
|
|
|
class HelloHandler_v1 : public TInterface<IID_HELLO_HANDLER, IHelloHandler> |
|
{ |
|
public: |
|
std::string GetResponse() override; |
|
};
|
|
|