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

Last change on this file since 25 was 25, checked in by Eugene Romanenko, 15 years ago

implemented D&D into view window

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