windows-nt/Source/XPSP1/NT/base/wmi/bmoflocparser/inc/esputil/filespec.h

45 lines
1 KiB
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
//-----------------------------------------------------------------------------
//
// File: filespec.h
// Copyright (C) 1994-1997 Microsoft Corporation
// All rights reserved.
//
//
//
//-----------------------------------------------------------------------------
#ifndef ESPUTIL_FILESPEC_H
#define ESPUTIL_FILESPEC_H
#pragma warning(disable: 4275) // non dll-interface class 'foo' used
// as base for dll-interface class 'bar'
class LTAPIENTRY CFileSpec : public CObject
{
public:
NOTHROW CFileSpec();
NOTHROW CFileSpec(const CFileSpec &);
NOTHROW CFileSpec(const CPascalString &, const DBID &);
void AssertValid(void) const;
NOTHROW void SetFileName(const CPascalString &);
NOTHROW void SetFileId(const DBID &);
NOTHROW const CPascalString & GetFileName(void) const;
NOTHROW const DBID & GetFileId(void) const;
NOTHROW const CFileSpec & operator=(const CFileSpec &);
~CFileSpec();
private:
CPascalString m_pasFileName;
DBID m_didFileId;
};
#pragma warning(default: 4275)
#endif