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