Leaked source code of windows server 2003
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.
 
 
 
 
 
 

50 lines
1.2 KiB

//------------------------------------------------------------------------------
//
// File: impparse.h
// Copyright (C) 1995-1997 Microsoft Corporation
// All rights reserved.
//
// Purpose:
// Declare CLocImpParser, which provides the ILocParser interface for
// the parser.
//
// THIS FILE SHOULD NEED ONLY MINOR CHANGES.
//
// Owner:
//
//------------------------------------------------------------------------------
#pragma once
class CLocImpParser: public CPULocParser
{
public:
CLocImpParser();
~CLocImpParser();
// 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 &ltiType,
const CLocTranslation &, CReporter *pReporter,
const CContext &context);
static const ParserId m_pid;
private:
void RegisterOptions();
void UnRegisterOptions();
BOOL m_fOptionInit;
};
bool IsConfiguredToUseBracesForStringTables();