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.
 
 
 

28 lines
696 B

/**
* 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 Justin James <justin.aj@hotmail.com>
*/
#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