#ifndef MSDEXIEXPORTER_HPP
#define MSDEXIEXPORTER_HPP



#include "msLib/msPlugIn.h"

const int MAX_FILENAME_LEN = 1024;
typedef struct HINSTANCE__* HINSTANCE;

struct msModel;
class cDexiPlugin : public cMsPlugIn
{
    static const char* const sMenuTitle;
    static const char* const sLongTitle;
	
public:
	cDexiPlugin ();
    virtual ~cDexiPlugin ();
	
public:
    int             GetType ();
    const char *    GetTitle ();
    int             Execute (msModel* pModel);
};

struct DexiOptions
{
	char FileName[MAX_FILENAME_LEN];
	char AnimName[MAX_FILENAME_LEN];
	enum Target_t
	{
		Target_Unknown,
		Target_Actor,
		Target_DWorld,
	} Target;
	bool ExportAnimation;
	bool AnimationOnly;
	bool OverwriteAnim;
};

bool DoDexiOptionDialog(HINSTANCE instance, DexiOptions* optionsData);


#endif // MSDEXIEXPORTER_HPP