File: modulebrowser_plugin.h

package info (click to toggle)
korelib 0.0.1-8
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,788 kB
  • ctags: 1,918
  • sloc: sh: 8,555; cpp: 3,989; makefile: 633; ansic: 65
file content (38 lines) | stat: -rw-r--r-- 806 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
38

#ifndef KOREDLG_PLUGIN_H
#define KOREDLG_PLUGIN_H

#include <kore/plugin.h>

using namespace kore;

extern "C"
{
    PLUGIN_MAIN_HDR(libHandle,libName,libPath,libFlags);
}

class ModuleBrowser;
class ModuleViewFactory;

class ModuleBrowserPlugin: public Plugin
{
public:
    ModuleBrowserPlugin(HMODULE libhandle, const char* libname, const char* libpath, int flags);
    ~ModuleBrowserPlugin();
    virtual void pluginLoaded();
    virtual void initPlugin();
    virtual void finalizePlugin();
    virtual void unloadingPlugin();
private:
    // Plugin version
    const Version* _pluginVersion;
    // Kernel API version required by this Plugin
    const Version* _pluginAPIVersion;
    // Plugin info
    const Info* _pluginInfo;

    ModuleBrowser* browser;
    ModuleViewFactory* factory;
};

#endif