Update ooo320-m1
[ooovba.git] / xmerge / source / activesync / XMergeFactory.h
blob93e2c1d0db790fb9114ca0aee1c94860adafc1e1
1 // XMergeFactory.h: interface for the CXMergeFactory class.
2 //
3 //////////////////////////////////////////////////////////////////////
5 #if !defined(AFX_XMERGEFACTORY_H__3150043C_57FB_4BC8_9104_379506FA6B9F__INCLUDED_)
6 #define AFX_XMERGEFACTORY_H__3150043C_57FB_4BC8_9104_379506FA6B9F__INCLUDED_
8 #if _MSC_VER > 1000
9 #pragma once
10 #endif // _MSC_VER > 1000
13 class CXMergeFactory : public IClassFactory
15 private:
16 LONG m_cRef;
17 virtual ~CXMergeFactory() {};
19 public:
20 CXMergeFactory() : m_cRef(1) {}; // Set reference count when first created
23 /********** IUnknown methods **********/
24 STDMETHODIMP QueryInterface(REFIID riid, void **ppvObject);
25 STDMETHODIMP_(ULONG) AddRef(void);
26 STDMETHODIMP_(ULONG) Release();
29 /********** IUnknown methods **********/
30 STDMETHODIMP CreateInstance(IUnknown* pUnkOuter, REFIID riid, void **ppvObject);
31 STDMETHODIMP LockServer(BOOL fLock);
34 #endif // !defined(AFX_XMERGEFACTORY_H__3150043C_57FB_4BC8_9104_379506FA6B9F__INCLUDED_)