Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/Tools/MilkshapeExport/include/msPlugIn.h @ 6

Last change on this file since 6 was 6, checked in by anonymous, 17 years ago

=…

File size: 667 bytes
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                eTypeEdit    = 4,
16                eTypeVertex  = 5,
17                eTypeFace    = 6,
18                eTypeAnimate = 7,
19                eTypeMask    = 0x000F,
20
21                eNormalsAndTexCoordsPerTriangleVertex = 128
22    };
23
24public:
25    cMsPlugIn () {};
26    virtual ~cMsPlugIn () {};
27
28public:
29    virtual int             GetType () = 0;
30    virtual const char *    GetTitle () = 0;
31    virtual int             Execute (msModel* pModel) = 0;
32};
33
34
35
36typedef cMsPlugIn* (*FN_CREATE_PLUGIN)();
37
38cMsPlugIn *CreatePlugIn ();
39
40
41
42#endif // __MS_PLUGIN_H__
Note: See TracBrowser for help on using the repository browser.