52 lines
1,011 B
C
52 lines
1,011 B
C
|
/*++
|
||
|
|
||
|
Copyright (C) 1996-1999 Microsoft Corporation
|
||
|
|
||
|
Module Name:
|
||
|
|
||
|
WMILPRS.H
|
||
|
|
||
|
History:
|
||
|
|
||
|
--*/
|
||
|
|
||
|
#ifndef WMIPARSE_H
|
||
|
#define WMIPARSE_H
|
||
|
|
||
|
#define OPT_DISABLE_WATERMARKING "DisableWatermarking"
|
||
|
|
||
|
class CWMILocParser : public CPULocParser
|
||
|
{
|
||
|
public:
|
||
|
CWMILocParser();
|
||
|
~CWMILocParser();
|
||
|
|
||
|
// Overrides
|
||
|
public:
|
||
|
// ILocParser
|
||
|
virtual HRESULT OnInit(IUnknown *);
|
||
|
virtual HRESULT OnCreateFileInstance(ILocFile * &, FileType);
|
||
|
virtual void OnGetParserInfo(ParserInfo &) const;
|
||
|
virtual void OnGetFileDescriptions(CEnumCallback &) const;
|
||
|
|
||
|
// ILocVersion
|
||
|
virtual void OnGetParserVersion(DWORD &dwMajor, DWORD &dwMinor, BOOL &fDebug) const;
|
||
|
|
||
|
// ILocStringValidation
|
||
|
virtual CVC::ValidationCode OnValidateString(const CLocTypeId <iType,
|
||
|
const CLocTranslation &trTrans, CReporter *pReporter,
|
||
|
const CContext &context);
|
||
|
|
||
|
// Implementation
|
||
|
protected:
|
||
|
void GetDefaultExtensionList(CLocExtensionList & elExtList) const;
|
||
|
|
||
|
private:
|
||
|
void RegisterOptions();
|
||
|
void UnRegisterOptions();
|
||
|
|
||
|
BOOL m_fOptionInit;
|
||
|
};
|
||
|
|
||
|
#endif
|