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.

45 lines
806 B

  1. // machine.h
  2. // the internal machine objects
  3. class CInternalMachine : public CMachine
  4. {
  5. public:
  6. // commit the services on the machine
  7. BOOL FCommitNow( void );
  8. // access to the dirty flag
  9. void SetDirty( BOOL fDirty );
  10. private:
  11. // need to be committed?
  12. BOOL m_fDirty;
  13. };
  14. // the local machine object
  15. class CLocalMachine : public CInternalMachine
  16. {
  17. public:
  18. void UpdateCaption( void );
  19. BOOL FLocal() { return TRUE; }
  20. protected:
  21. // DO declare DYNCREATE
  22. DECLARE_DYNCREATE(CLocalMachine);
  23. };
  24. // the remove machine class
  25. class CRemoteMachine : public CInternalMachine
  26. {
  27. public:
  28. CRemoteMachine() {;}
  29. CRemoteMachine( CString sz );
  30. void UpdateCaption( void );
  31. BOOL FLocal() { return FALSE; }
  32. protected:
  33. // DO declare DYNCREATE
  34. DECLARE_DYNCREATE(CRemoteMachine);
  35. };