/** * This file is in the public domain, furnished "as is", without technical * support, and with no warranty, express or implied, as to its usefulness for * any purpose. * * Written by Jessica James */ #if !defined _EXAMPLE_H_HEADER #define _EXAMPLE_H_HEADER #include "Jupiter/Plugin.h" #include "IRC_Command.h" class ExamplePlugin : public Jupiter::Plugin { public: void OnConnect(Jupiter::IRC::Client *server); const Jupiter::ReadableString &getName() override { return this->name; } private: STRING_LITERAL_AS_NAMED_REFERENCE(name, "ExamplePlugin"); }; // Example IRC Command Declaration GENERIC_IRC_COMMAND(ExampleIRCCommand) #endif // _EXAMPLE_H_HEADER