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

// machine.h
// the internal machine objects
class CInternalMachine : public CMachine
{
public:
// commit the services on the machine
BOOL FCommitNow( void );
// access to the dirty flag
void SetDirty( BOOL fDirty );
private:
// need to be committed?
BOOL m_fDirty;
};
// the local machine object
class CLocalMachine : public CInternalMachine
{
public:
void UpdateCaption( void );
BOOL FLocal() { return TRUE; }
protected:
// DO declare DYNCREATE
DECLARE_DYNCREATE(CLocalMachine);
};
// the remove machine class
class CRemoteMachine : public CInternalMachine
{
public:
CRemoteMachine() {;}
CRemoteMachine( CString sz );
void UpdateCaption( void );
BOOL FLocal() { return FALSE; }
protected:
// DO declare DYNCREATE
DECLARE_DYNCREATE(CRemoteMachine);
};