#ifndef __MS_PLUGIN_H__
#define __MS_PLUGIN_H__



struct msModel;
class cMsPlugIn
{
public:
    enum
    {
        eTypeImport  = 1,
        eTypeExport  = 2,
        eTypeTool    = 3,
		eTypeEdit    = 4,
		eTypeVertex  = 5,
		eTypeFace    = 6,
		eTypeAnimate = 7
    };

public:
    cMsPlugIn () {};
    virtual ~cMsPlugIn () {};

public:
    virtual int             GetType () = 0;
    virtual const char *    GetTitle () = 0;
    virtual int             Execute (msModel* pModel) = 0;
};



typedef cMsPlugIn* (*FN_CREATE_PLUGIN)();

cMsPlugIn *CreatePlugIn ();



#endif // __MS_PLUGIN_H__