1 // XMergeSyncModule.h: interface for the CXMergeSyncModule class. 2 // 3 ////////////////////////////////////////////////////////////////////// 4 5 #if !defined(AFX_XMERGESYNCMODULE_H__0788DA0C_4DCB_4876_9722_F9EAF1EB5462__INCLUDED_) 6 #define AFX_XMERGESYNCMODULE_H__0788DA0C_4DCB_4876_9722_F9EAF1EB5462__INCLUDED_ 7 8 #if _MSC_VER > 1000 9 #pragma once 10 #endif // _MSC_VER > 1000 11 12 13 // Used to keep track of the dll 14 15 class CXMergeSyncModule 16 { 17 protected: 18 long m_lLocks; 19 long m_lObjs; 20 21 public: 22 long GetLockCount(); 23 long LockServer(BOOL fLock); 24 HINSTANCE m_hInst; 25 CXMergeSyncModule(); 26 virtual ~CXMergeSyncModule(); 27 }; 28 29 #endif // !defined(AFX_XMERGESYNCMODULE_H__0788DA0C_4DCB_4876_9722_F9EAF1EB5462__INCLUDED_) 30