WindowsXP-SP1/inetsrv/intlwb/kor/stemcf.hxx
2020-09-30 16:53:49 +02:00

66 lines
1.4 KiB
C++

//+-------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1997
//
// File: stemcf.hxx
//
// Contents: Stemmer 'class factory'.
//
// History: weibz, 10-Sep-1997 created
//
//--------------------------------------------------------------------------
#if !defined( __STEMCF_HXX__ )
#define __STEMCF_HXX__
//+-------------------------------------------------------------------------
//
// Class: CStemmerCF
//
// Purpose: Class factory for all Stemmers
//
//
//--------------------------------------------------------------------------
class CStemmerCF : public IClassFactory
{
public:
CStemmerCF( LCID lcid );
//
// From IUnknown
//
virtual SCODE STDMETHODCALLTYPE QueryInterface( REFIID riid,
void ** ppvObject);
virtual ULONG STDMETHODCALLTYPE AddRef();
virtual ULONG STDMETHODCALLTYPE Release();
//
// From IClassFactory
//
virtual SCODE STDMETHODCALLTYPE CreateInstance( IUnknown * pUnkOuter,
REFIID riid, void * * ppvObject );
virtual SCODE STDMETHODCALLTYPE LockServer( BOOL fLock );
protected:
virtual ~CStemmerCF();
long _cRefs;
LCID _lcid;
};
#endif // __STEMCF_HXX__