1 // XMergeFactory.h: interface for the CXMergeFactory class.
2 //
3 //////////////////////////////////////////////////////////////////////
4 
5 #if !defined(AFX_XMERGEFACTORY_H__3150043C_57FB_4BC8_9104_379506FA6B9F__INCLUDED_)
6 #define AFX_XMERGEFACTORY_H__3150043C_57FB_4BC8_9104_379506FA6B9F__INCLUDED_
7 
8 #if _MSC_VER > 1000
9 #pragma once
10 #endif // _MSC_VER > 1000
11 
12 
13 class CXMergeFactory : public IClassFactory
14 {
15 private:
16     LONG m_cRef;
17 	virtual ~CXMergeFactory() {};
18 
19 public:
20 	CXMergeFactory() : m_cRef(1) {};	// Set reference count when first created
21 
22 
23 	/********** IUnknown methods **********/
24 	STDMETHODIMP			QueryInterface(REFIID riid, void **ppvObject);
25 	STDMETHODIMP_(ULONG)	AddRef(void);
26 	STDMETHODIMP_(ULONG)	Release();
27 
28 
29 	/********** IUnknown methods **********/
30 	STDMETHODIMP			CreateInstance(IUnknown* pUnkOuter, REFIID riid, void **ppvObject);
31 	STDMETHODIMP			LockServer(BOOL fLock);
32 };
33 
34 #endif // !defined(AFX_XMERGEFACTORY_H__3150043C_57FB_4BC8_9104_379506FA6B9F__INCLUDED_)
35