plugin.h File Reference

Plugin header file. More...

#include "message.h"
#include <time.h>
#include <vector>
#include <string>

Go to the source code of this file.

Classes

struct  pPlugin
 Plugin object and header storage. More...
struct  StructFunctionStorage
 Plugin function storage. More...
class  Plugin
 Class that manage a plugin. More...

Typedefs

typedef bool(* plugin_function )(Message *, Plugin *, BotKernel *)
 Plugin function prototype.
typedef Plugin *(* plugin_constructor )(BotKernel *)
 Plugin object constructor prototype.
typedef void(* plugin_destructor )(Plugin *)
 Plugin objet destructor prototype.

Enumerations

enum  func_type {
  IN_LOOP, IN_COMMAND_HANDLER, IN_FREE_COMMAND_HANDLER, IN_TYPE_HANDLER,
  IN_BEFORE_TREATMENT, IN_ALL_MSGS, IN_FIRST_WORD, COUNTDOWN,
  OUT_ALL_MSGS
}
 Plugin types. More...


Detailed Description

Plugin header file.

Definition in file plugin.h.


Typedef Documentation

Plugin object constructor prototype.

Definition at line 48 of file plugin.h.

typedef void(* plugin_destructor)(Plugin *)

Plugin objet destructor prototype.

Definition at line 50 of file plugin.h.

typedef bool(* plugin_function)(Message *, Plugin *, BotKernel *)

Plugin function prototype.

Definition at line 46 of file plugin.h.


Enumeration Type Documentation

enum func_type

Plugin types.

Enumerator:
IN_LOOP 
IN_COMMAND_HANDLER 
IN_FREE_COMMAND_HANDLER 
IN_TYPE_HANDLER 
IN_BEFORE_TREATMENT 
IN_ALL_MSGS 
IN_FIRST_WORD 
COUNTDOWN 
OUT_ALL_MSGS 

Definition at line 41 of file plugin.h.


Generated on Sun Aug 16 15:28:29 2009 for trustyRC by  doxygen 1.5.8