#ifndef __3GLOBAL_h
#define __3GLOBAL_h

#pragma warning(disable: 4786)	// C4786_xZkqqHx_iMhIiNjAiCpAiPgPiCmIiCkNiClHiCoJiBeC_xHqqkZx_
#pragma warning(disable: 4503)	// C4503_xZkqqHx_iMhIiNjAiCpAiPgPiCmIiCkNiClHiCoJiBeC_xHqqkZx_
#include <vector>
#include <set>
#include <map>
#include "../ForSubCoreUtil.h"

// STL_xZkqqHx_iCmMjGlMjBePiLpDiKnEiCpAjAnNjCoIiBeC_xHqqkZx_
using namespace std;

class MC3ObjBase;

typedef vector<MC3ObjBase*>		MC3ObjBaseVector;

//----- 06.05.10 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
////----- BYTEVector_xZkqqHx_iDfIiDgHiDiKiBfLiDiAiKnGjIeB_xHqqkZx_ -----
//template <class T> void operator << (BYTEVector& vStream, const T data)
//{
//	vStream.insert(vStream.end(), (const BYTE*)(&data),
//					(const BYTE*)(&data) + sizeof(data));
//} // template <class T> void operator <<.
//
//template <class T> void ReadData (T& data, const BYTE*& bypStream)
//{
//	memcpy(&data, bypStream, sizeof(data));
//	bypStream += sizeof(data);
//} // template <class T> void ReadData.
//----- 06.05.10 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

class MC3Document;

extern MC3Document*		g_pDoc;

//----- 06.05.10 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//extern IMpgMolipMain*	g_pMolipMainI;
//#define FFMainI			g_pMolipMainI
//#define FFUtilErrI      g_pMolipMainI->GetUtilErrI()
//#define FFUtilMathI     g_pMolipMainI->GetUtilMathI()
//#define FFUtilFileI     g_pMolipMainI->GetUtilFileI()
//#define FFUtilFontI     g_pMolipMainI->GetUtilFontI()
//#define FFUtilStrI      g_pMolipMainI->GetUtilStrI()
//#define FFUtilPrintI    g_pMolipMainI->GetUtilPrintI()
//#define FFUtilCoordI    g_pMolipMainI->GetUtilCoordI()
//#define FFUtilZlibPngI  g_pMolipMainI->GetUtilZlibPngI()
//#define FFUtilMiscI     g_pMolipMainI->GetUtilMisc()
//----- 06.05.10 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

//----- 06.05.10 Fukushiro M. _xZkqqHx_iNoNiPjMiOgO_xHqqkZx_ ()-----
//template<class T> T* FFClassCreate (T*)
//{
//	return g_pMolipMainI->GetClassInstanceI()->CreateDelete((T*)NULL);
//}
//
//template<class T> void FFClassDelete (T* p)
//{
//	if (p == NULL)
//		FFUtilErrI->ThrowMiscException(L"Error:FMpgClassDelete(NULL)");
//	g_pMolipMainI->GetClassInstanceI()->CreateDelete(p);
//}
//----- 06.05.10 Fukushiro M. _xZkqqHx_iNoNiPjMiPeJ_xHqqkZx_ ()-----

#endif//__3GLOBAL_h
