Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
1.5 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1994
  5. //
  6. // File: wbclassf.hxx
  7. //
  8. // Contents: Word Breaker 'class factory'.
  9. //
  10. // History: 01-July-1996 PatHal Created
  11. //
  12. // Notes: Copied from txtifilt.hxx and then modified.
  13. //
  14. //--------------------------------------------------------------------------
  15. #if !defined( __WBCLASSCF_HXX__ )
  16. #define __WBCLASSCF_HXX__
  17. //+-------------------------------------------------------------------------
  18. //
  19. // Class: CWordBreakerCF
  20. //
  21. // Purpose: Class factory for all Word Breakers
  22. //
  23. //--------------------------------------------------------------------------
  24. class CWordBreakerCF : public IClassFactory
  25. {
  26. public:
  27. CWordBreakerCF( LCID lcid );
  28. //
  29. // From IUnknown
  30. //
  31. virtual SCODE STDMETHODCALLTYPE QueryInterface( REFIID riid,
  32. void ** ppvObject);
  33. virtual ULONG STDMETHODCALLTYPE AddRef();
  34. virtual ULONG STDMETHODCALLTYPE Release();
  35. //
  36. // From IClassFactory
  37. //
  38. virtual SCODE STDMETHODCALLTYPE CreateInstance( IUnknown * pUnkOuter,
  39. REFIID riid, void * * ppvObject );
  40. virtual SCODE STDMETHODCALLTYPE LockServer( BOOL fLock );
  41. protected:
  42. virtual ~CWordBreakerCF();
  43. long _cRefs;
  44. LCID _lcid;
  45. };
  46. #endif // __WBCLASSCF_HXX__