summaryrefslogtreecommitdiffstats
path: root/private/oleutest/balls/common/rpctcf.hxx
blob: 3adc78876bc1a489699f6f4b8d78f7c37c1f1076 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
//+-------------------------------------------------------------------
//
//  File:	rpccf.hxx
//
//  Contents:	rpctest class factory object implementation
//
//  Classes:	CRpcTestClassFactory
//
//  Functions:	None
//
//  History:	23-Nov-92   Rickhi	Created
//
//--------------------------------------------------------------------

#ifndef __CRPCTYPESCLASSFACTORY__
#define __CRPCTYPESCLASSFACTORY__

#include    <win4p.hxx>
#include    <otrack.hxx>	    //	object tracking

extern "C" const GUID CLSID_RpcTypes;

//+-------------------------------------------------------------------
//
//  Class:	CRpcTypesClassFactory
//
//  Purpose:	test class factory object implementation
//
//  Interface:
//
//  History:	23-Nov-92   Rickhi	Created
//
//  Notes:
//
//--------------------------------------------------------------------

class CRpcTypesClassFactory : INHERIT_TRACKING,
			      public IClassFactory
{
public:
    //	Constructor & Destructor
		    CRpcTypesClassFactory(void);

    //	IUnknown methods
    STDMETHOD(QueryInterface)(REFIID riid, void **ppUnk);
    DECLARE_STD_REFCOUNTING;

    //	IClassFactory methods
    STDMETHOD(CreateInstance)(IUnknown *punkOuter,
			      REFIID   riid,
			      void     **ppunkObject);

    STDMETHOD(LockServer)(BOOL fLock);

private:
		    ~CRpcTypesClassFactory(void);

};
	

#endif	//  __CRPCTYPESCLASSFACTORY__