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.
44 lines
1.1 KiB
44 lines
1.1 KiB
//-----------------------------------------------------------------------------
|
|
//
|
|
// 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
|