MostlyHarmless 0.0.1
 
Loading...
Searching...
No Matches
mostlyharmless_IPluginEntry.h File Reference

Go to the source code of this file.

Classes

struct  mostly_harmless::core::IPluginEntry
 Interface for registering the user's subclasses with the framework. More...
 

Namespaces

namespace  mostly_harmless
 The top-level namespace, contains all things plugin-related.
 
namespace  mostly_harmless::core
 Contains core functionality of the framework.
 

Macros

#define MH_REGISTER_PLUGIN_ENTRY(PluginEntryType)
 Macro to register your IPluginEntry subclass with the framework.
 

Macro Definition Documentation

◆ MH_REGISTER_PLUGIN_ENTRY

#define MH_REGISTER_PLUGIN_ENTRY ( PluginEntryType)
Value:
namespace mostly_harmless::core { \
std::unique_ptr<IPluginEntry> createPluginEntry() noexcept { \
return std::make_unique<PluginEntryType>(); \
} \
}
Contains core functionality of the framework.
Definition mostlyharmless_PluginBase.h:15

Macro to register your IPluginEntry subclass with the framework.

Call this from your IPluginEntry subclass' source file.