source: trunk/Lucide/SOURCE/gui/pluginman.h @ 20

Last change on this file since 20 was 2, checked in by Eugene Romanenko, 16 years ago

First import

File size: 688 bytes
Line 
1#ifndef __PLUGINMAN_H
2#define __PLUGINMAN_H
3
4#include <vector>
5#include <string>
6using namespace std;
7
8
9class LuDocument;
10
11struct PluginInfo
12{
13    HMODULE handle;
14    std::string name;
15    std::string extensions;
16    std::string description;
17};
18
19typedef vector<PluginInfo> PluginInfoList;
20
21class PluginManager
22{
23    private:
24        PluginInfoList *plugins;
25        void loadPlugin( const char *dllname );
26    public:
27        PluginManager();
28        ~PluginManager();
29        PluginInfoList *getPluginsList() { return plugins; }
30        LuDocument *createDocumentForExt( const char *ext );
31        std::string getExtsMask();
32};
33
34#endif // __PLUGINMAN_H
Note: See TracBrowser for help on using the repository browser.