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.
 
 
 
 
 
 

55 lines
1.4 KiB

//-----------------------------------------------------------------------------
//
// File: LocFile.H
// Copyright (C) 1994-1997 Microsoft Corporation
// All rights reserved.
//
//
// Operations we can perforn on a localizable file.
//
//-----------------------------------------------------------------------------
#ifndef PBASE_LOCFILE_H
#define PBASE_LOCFILE_H
class CLocItemHandler;
extern const IID IID_ILocFile;
DECLARE_INTERFACE_(ILocFile, IUnknown)
{
//
// IUnknown standard Interface
//
STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR*ppvObj) PURE;
STDMETHOD_(ULONG, AddRef)(THIS) PURE;
STDMETHOD_(ULONG, Release)(THIS) PURE;
//
// Standard Debugging interfaces
//
STDMETHOD_(void, AssertValidInterface)(THIS) CONST_METHOD PURE;
//
// ILocFile methods.
//
STDMETHOD_(BOOL, OpenFile)(THIS_ const CFileSpec REFERENCE,
CReporter REFERENCE) PURE;
STDMETHOD_(FileType, GetFileType)(THIS) const PURE;
STDMETHOD_(void, GetFileTypeDescription)(THIS_ CLString REFERENCE)
const PURE;
STDMETHOD_(BOOL, GetAssociatedFiles)(THIS_ CStringList REFERENCE)
const PURE;
STDMETHOD_(BOOL, EnumerateFile)(THIS_ CLocItemHandler REFERENCE,
const CLocLangId &, const DBID REFERENCE) PURE;
STDMETHOD_(BOOL, GenerateFile)(THIS_ const CPascalString REFERENCE,
CLocItemHandler REFERENCE, const CLocLangId REFERENCE,
const CLocLangId REFERENCE, const DBID REFERENCE) PURE;
};
#endif // PBASE_LOCFILE_H