1*b31e36b3SAndrew Rist /************************************************************** 2*b31e36b3SAndrew Rist * 3*b31e36b3SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*b31e36b3SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*b31e36b3SAndrew Rist * distributed with this work for additional information 6*b31e36b3SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*b31e36b3SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*b31e36b3SAndrew Rist * "License"); you may not use this file except in compliance 9*b31e36b3SAndrew Rist * with the License. You may obtain a copy of the License at 10*b31e36b3SAndrew Rist * 11*b31e36b3SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*b31e36b3SAndrew Rist * 13*b31e36b3SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*b31e36b3SAndrew Rist * software distributed under the License is distributed on an 15*b31e36b3SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*b31e36b3SAndrew Rist * KIND, either express or implied. See the License for the 17*b31e36b3SAndrew Rist * specific language governing permissions and limitations 18*b31e36b3SAndrew Rist * under the License. 19*b31e36b3SAndrew Rist * 20*b31e36b3SAndrew Rist *************************************************************/ 21cdf0e10cSrcweir // XMergeSyncModule.h: interface for the CXMergeSyncModule class. 22cdf0e10cSrcweir // 23cdf0e10cSrcweir ////////////////////////////////////////////////////////////////////// 24cdf0e10cSrcweir 25cdf0e10cSrcweir #if !defined(AFX_XMERGESYNCMODULE_H__0788DA0C_4DCB_4876_9722_F9EAF1EB5462__INCLUDED_) 26cdf0e10cSrcweir #define AFX_XMERGESYNCMODULE_H__0788DA0C_4DCB_4876_9722_F9EAF1EB5462__INCLUDED_ 27cdf0e10cSrcweir 28cdf0e10cSrcweir #if _MSC_VER > 1000 29cdf0e10cSrcweir #pragma once 30cdf0e10cSrcweir #endif // _MSC_VER > 1000 31cdf0e10cSrcweir 32cdf0e10cSrcweir 33cdf0e10cSrcweir // Used to keep track of the dll 34cdf0e10cSrcweir 35cdf0e10cSrcweir class CXMergeSyncModule 36cdf0e10cSrcweir { 37cdf0e10cSrcweir protected: 38cdf0e10cSrcweir long m_lLocks; 39cdf0e10cSrcweir long m_lObjs; 40cdf0e10cSrcweir 41cdf0e10cSrcweir public: 42cdf0e10cSrcweir long GetLockCount(); 43cdf0e10cSrcweir long LockServer(BOOL fLock); 44cdf0e10cSrcweir HINSTANCE m_hInst; 45cdf0e10cSrcweir CXMergeSyncModule(); 46cdf0e10cSrcweir virtual ~CXMergeSyncModule(); 47cdf0e10cSrcweir }; 48cdf0e10cSrcweir 49cdf0e10cSrcweir #endif // !defined(AFX_XMERGESYNCMODULE_H__0788DA0C_4DCB_4876_9722_F9EAF1EB5462__INCLUDED_) 50