source: OGRE/trunk/ogrenew/Tools/MilkshapeExport/include/msPlugIn.h @ 692

Revision 692, 546 bytes checked in by mattausch, 18 years ago (diff)

adding ogre 1.2 and dependencies

Line 
1#ifndef __MS_PLUGIN_H__
2#define __MS_PLUGIN_H__
3
4
5
6struct msModel;
7class cMsPlugIn
8{
9public:
10    enum
11    {
12        eTypeImport = 1,
13        eTypeExport = 2,
14        eTypeTool   = 3,
15    };
16
17public:
18    cMsPlugIn () {};
19    virtual ~cMsPlugIn () {};
20
21public:
22    virtual int             GetType () = 0;
23    virtual const char *    GetTitle () = 0;
24    virtual int             Execute (msModel* pModel) = 0;
25};
26
27
28
29typedef cMsPlugIn* (*FN_CREATE_PLUGIN)();
30
31cMsPlugIn *CreatePlugIn ();
32
33
34
35#endif // __MS_PLUGIN_H__
Note: See TracBrowser for help on using the repository browser.