/////////////////////////////////////////////////////////////
// CINEMA 4D SDK                                           //
/////////////////////////////////////////////////////////////
// (c) 1989-2004 MAXON Computer GmbH, all rights reserved  //
/////////////////////////////////////////////////////////////

#ifndef _FONTCHOOSER_H_
#define _FONTCHOOSER_H_

#define FONTCHOOSER_GUI       1009371
#define FONTCHOOSER_DATA      1009372

#define FONT_USE_POSTSCRIPT		499 // BOOL
#define FONT_POSTSCRIPT_NAME	505 // FILENAME

#include "customgui_base.h"
#include "c4d_basecontainer.h"
#include "c4d_gui.h"
#include "c4d_customdatatype.h"


class FontchooserCustomGui : public BaseCustomGui<FONTCHOOSER_GUI>
{
private:
		FontchooserCustomGui();
		~FontchooserCustomGui();

	public:
    BaseContainer GetFont();
    void SetFont(BaseContainer* bc);
};


class FontData : public iCustomDataType<FontData>
{
private:
  FontData(void);
  ~FontData(void);

public:
  BaseContainer GetFont();
  void SetFont(BaseContainer *bc);
};


// INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF
// INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF
// INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF


#ifndef _FONTCHOOSER_INTERNAL_DEF_
	class iFontChooserGUI : public iBaseCustomGui
	{
		iFontChooserGUI(const BaseContainer &settings,CUSTOMGUIPLUGIN *plugin) : iBaseCustomGui(settings,plugin) { }
	};
	class iFontData
	{
	};
#else
	class iFontChooserGUI;
	class iFontData;
#endif

struct FontchooserLib : public BaseCustomGuiLib
{
	BaseContainer    (iFontChooserGUI::*GetFont)();
	void             (iFontChooserGUI::*SetFont)(BaseContainer* bc);
	BaseContainer    (iFontData::*GetFontData)();
	void             (iFontData::*SetFontData)(BaseContainer* bc);
};

// INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF
// INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF
// INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF -- INTERNAL STUFF


#endif // _FONTCHOOSER_H_