home *** CD-ROM | disk | FTP | other *** search
/ Ray Dream Studio 5 / Ray Dream.iso / pc / DreamSDK / Windows / SAMPLES / SCENEOP / SCOP / SCOPFAC.H < prev   
Encoding:
C/C++ Source or Header  |  1997-07-11  |  709 b   |  30 lines

  1. /*$Id: ScopFac.h 1.1 1996/07/19 00:14:13 Damien Exp $*/
  2.  
  3. #ifndef __SCOPFAC__
  4. #define __SCOPFAC__  
  5.  
  6. #ifndef __I3DEX__
  7. #include "I3DEx.h"
  8. #endif
  9.                   
  10. // SceneOp Class Factory :
  11. class SceneOpClassFactory : public IClassFactory {
  12. public:
  13.   SceneOpClassFactory(void);
  14.   ~SceneOpClassFactory(void);
  15.  
  16.   //IUnknown members
  17.   STDMETHODIMP         QueryInterface(REFIID, LPVOID FAR*);
  18.   STDMETHODIMP_(ULONG) AddRef(void);
  19.   STDMETHODIMP_(ULONG) Release(void);
  20.  
  21.   //IClassFactory members
  22.   STDMETHODIMP         CreateInstance(LPUNKNOWN, REFIID, LPVOID FAR*);
  23.   STDMETHODIMP         LockServer(BOOL);
  24. protected:
  25.   ULONG           m_cRef;
  26.   };                         
  27.  
  28. #endif
  29.  
  30.