DataManager.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. // DataManager.h : main header file for the DATAMANAGER DLL
  2. //
  3. #if !defined(AFX_DATAMANAGER_H__E92D698E_A1BA_4DA2_9519_DB5E4F3DB667__INCLUDED_)
  4. #define AFX_DATAMANAGER_H__E92D698E_A1BA_4DA2_9519_DB5E4F3DB667__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. #ifndef __AFXWIN_H__
  9. #error include 'stdafx.h' before including this file for PCH
  10. #endif
  11. #include "resource.h" // main symbols
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CDataManagerApp
  14. // See DataManager.cpp for the implementation of this class
  15. //
  16. enum ChineseType{CHN_TYPE_NONE=-1, CHN_TYPE_SIMPL=0, CHN_TYPE_TRAD=1};
  17. class CDataManagerApp : public CWinApp
  18. {
  19. public:
  20. CDataManagerApp();
  21. CMapStringToPtr m_mapAllAppHandle; //所有动态库的句柄
  22. BOOL GetObjFuncs(CString strAppName, Def_CreateObj* &fpCreateObj, Def_ReleaseObj* &fpReleaseObj);
  23. CString m_strAppPath;
  24. CString m_strDllPath;
  25. BOOL m_bLoadedByMainProg;//被主程序装载
  26. int m_nChineseType;
  27. BOOL m_bJtToFj;//需要将简体转换为繁体的标志
  28. // Overrides
  29. // ClassWizard generated virtual function overrides
  30. //{{AFX_VIRTUAL(CDataManagerApp)
  31. public:
  32. virtual int ExitInstance();
  33. virtual BOOL InitInstance();
  34. //}}AFX_VIRTUAL
  35. //{{AFX_MSG(CDataManagerApp)
  36. // NOTE - the ClassWizard will add and remove member functions here.
  37. // DO NOT EDIT what you see in these blocks of generated code !
  38. //}}AFX_MSG
  39. DECLARE_MESSAGE_MAP()
  40. };
  41. /////////////////////////////////////////////////////////////////////////////
  42. //{{AFX_INSERT_LOCATION}}
  43. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  44. #endif // !defined(AFX_DATAMANAGER_H__E92D698E_A1BA_4DA2_9519_DB5E4F3DB667__INCLUDED_)