1234567891011121314151617181920212223242526272829303132333435363738 |
- // EventRaiseActionMgr.h: interface for the CEventRaiseActionMgr class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_EVENTRAISEACTIONMGR_H__717E2B61_E4E7_49F5_8CB1_9B35D97AF084__INCLUDED_)
- #define AFX_EVENTRAISEACTIONMGR_H__717E2B61_E4E7_49F5_8CB1_9B35D97AF084__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- //ʼþÁª¶¯´¥·¢¶¯×÷
- typedef __declspec(dllexport) void Def_EventRaiseActionBase(CDataNodeBase* pNode, int nStatus);
- typedef __declspec(dllexport) void Def_InitActDll();
- typedef __declspec(dllexport) void Def_UninitActDll();
-
- class CEventRaiseActionMgr
- {
- public:
- CEventRaiseActionMgr();
- virtual ~CEventRaiseActionMgr();
- BOOL LoadDll(CString strDll);
- void FreeDll();
- static CEventRaiseActionMgr* GetRaiseActDll(CString strDll);
- static void FreeDllAll();
- void EventRaiseActionBase(CDataNodeBase* pNode, int nStatus);
- protected:
- static CMapStringToPtr m_mapMgrs;
- static CMutex m_mutexMgrs;
- Def_EventRaiseActionBase* m_pfEventRaiseActionBase;
- Def_InitActDll* m_pfInitActDll;
- Def_UninitActDll* m_pfUninitActDll;
- HMODULE m_hDll;
- };
- #endif // !defined(AFX_EVENTRAISEACTIONMGR_H__717E2B61_E4E7_49F5_8CB1_9B35D97AF084__INCLUDED_)
|