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.

35 lines
890 B

  1. /******************************************************************************
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. Persist.h
  5. Abstract:
  6. This file contains the declaration of the MPCPersist interface,
  7. used by MPCClient and MPCSession to persist their state.
  8. Revision History:
  9. Davide Massarenti (Dmassare) 04/20/99
  10. created
  11. ******************************************************************************/
  12. #if !defined(__INCLUDED___ULSERVER___PERSIST_H___)
  13. #define __INCLUDED___ULSERVER___PERSIST_H___
  14. #if _MSC_VER > 1000
  15. #pragma once
  16. #endif // _MSC_VER > 1000
  17. class MPCPersist
  18. {
  19. public:
  20. virtual bool IsDirty() const = 0;
  21. virtual HRESULT Load( /*[in]*/ MPC::Serializer& streamIn ) = 0;
  22. virtual HRESULT Save( /*[in]*/ MPC::Serializer& streamOut ) const = 0;
  23. };
  24. #endif // !defined(__INCLUDED___ULSERVER___PERSIST_H___)