mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-17 16:46:31 +00:00
19 lines
438 B
C++
19 lines
438 B
C++
#include "moonlight.hpp"
|
|
|
|
MoonlightInstance::~MoonlightInstance() {}
|
|
|
|
class MoonlightModule : public pp::Module {
|
|
public:
|
|
MoonlightModule() : pp::Module() {}
|
|
virtual ~MoonlightModule() {}
|
|
|
|
virtual pp::Instance* CreateInstance(PP_Instance instance) {
|
|
return new MoonlightInstance(instance);
|
|
}
|
|
};
|
|
|
|
namespace pp {
|
|
Module* CreateModule() {
|
|
return new MoonlightModule();
|
|
}
|
|
} // namespace pp
|