mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-28 14:13:04 +00:00
36 lines
No EOL
729 B
C++
36 lines
No EOL
729 B
C++
/**
|
|
* @file plugin.h
|
|
* @brief Plugin interface for NEX.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "RootObject.h"
|
|
|
|
namespace nn
|
|
{
|
|
namespace nex
|
|
{
|
|
class PluginObject : public nn::nex::RootObject { };
|
|
|
|
class Plugin : public nn::nex::RootObject
|
|
{
|
|
public:
|
|
Plugin();
|
|
|
|
virtual ~Plugin();
|
|
|
|
// there's a bunch of pure virtual methods but nothing ever inherits this class...
|
|
virtual bool Initalize();
|
|
virtual void ThreadAttach();
|
|
virtual void ThreadDetach();
|
|
virtual void Destroy();
|
|
|
|
void SetLibrary(void *);
|
|
|
|
void* mLibrary; // _8s
|
|
|
|
static nn::nex::Plugin* s_pInstance;
|
|
};
|
|
};
|
|
}; |