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.3 KiB

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