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.

46 lines
900 B

  1. /*++
  2. Copyright (C) 1996-1999 Microsoft Corporation
  3. Module Name:
  4. FILESPEC.H
  5. History:
  6. --*/
  7. #ifndef ESPUTIL_FILESPEC_H
  8. #define ESPUTIL_FILESPEC_H
  9. #pragma warning(disable: 4275) // non dll-interface class 'foo' used
  10. // as base for dll-interface class 'bar'
  11. class LTAPIENTRY CFileSpec : public CObject
  12. {
  13. public:
  14. NOTHROW CFileSpec();
  15. NOTHROW CFileSpec(const CFileSpec &);
  16. NOTHROW CFileSpec(const CPascalString &, const DBID &);
  17. void AssertValid(void) const;
  18. NOTHROW void SetFileName(const CPascalString &);
  19. NOTHROW void SetFileId(const DBID &);
  20. NOTHROW const CPascalString & GetFileName(void) const;
  21. NOTHROW const DBID & GetFileId(void) const;
  22. NOTHROW const CFileSpec & operator=(const CFileSpec &);
  23. ~CFileSpec();
  24. private:
  25. CPascalString m_pasFileName;
  26. DBID m_didFileId;
  27. };
  28. #pragma warning(default: 4275)
  29. #endif