File: plugin.h

package info (click to toggle)
aethera 0.9.3-7
  • links: PTS
  • area: main
  • in suites: woody
  • size: 8,588 kB
  • ctags: 7,282
  • sloc: cpp: 64,544; sh: 9,913; perl: 1,756; makefile: 1,680; python: 258
file content (37 lines) | stat: -rw-r--r-- 684 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef PLUGINE_H
#define PLUGINE_H

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#define MAILFILTER_API

#include <kore/plugin.h>
#include "mailfilter_plugin.h"
 
using namespace kore;
 
extern "C"
{
    PLUGIN_MAIN_HDR(libHandle,libName,libPath,libFlags);
}
 
class MailFilterPlugin: public Plugin
{
public:
    MailFilterPlugin(HMODULE libhandle, const char* libname, const char* libpath, int flags);
    ~MailFilterPlugin();
    virtual void pluginLoaded();
    virtual void initPlugin();
    virtual void unloadingPlugin();

private:
    const Version *_pluginVersion;
    const Version *_pluginAPIVersion;
    const Info    *_pluginInfo;
    MailFilter* filter;
};

#endif