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.

48 lines
1.1 KiB

  1. //-----------------------------------------------------------------------------
  2. //
  3. // File: locobj.h
  4. // Copyright (C) 1994-1997 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // Defines the mother of all classes for the Espresso 2.0 project. For now,
  8. // this just devolved to CObject. We define it just in case we decide to
  9. // implement our own mother of all classes.
  10. //
  11. //-----------------------------------------------------------------------------
  12. #ifndef LOCOBJ_H
  13. #define LOCOBJ_H
  14. //
  15. // The compiler worries when you export a class that has a base class
  16. // that is not exported. Since I *know* that CObject is exported
  17. // tell the compliler that this really isn't a problem right here.
  18. //
  19. #pragma warning(disable : 4275)
  20. class LTAPIENTRY CLObject : public CObject
  21. {
  22. public:
  23. CLObject();
  24. virtual void AssertValid(void) const;
  25. virtual void Serialize(CArchive &ar);
  26. virtual UINT GetSchema(void) const;
  27. virtual ~CLObject();
  28. protected:
  29. private:
  30. };
  31. #pragma warning(default : 4275)
  32. #if !defined(_DEBUG) || defined(IMPLEMENT)
  33. #include "locobj.inl"
  34. #endif
  35. #endif