VirtualBox

Changeset 1077 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Feb 27, 2007 5:33:11 PM (18 years ago)
Author:
vboxsync
Message:

Main: Added new IMachine attributes: description, sessionType and sessionPid.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/MachineImpl.h

    r606 r1077  
    142142            RTPROCESS mPid;
    143143
    144             /** current session state */
     144            /** Current session state */
    145145            SessionState_T mState;
    146146
    147             /** sesison machine object */
     147            /** Session type string (for indirect sessions) */
     148            Bstr mType;
     149
     150            /** Sesison machine object */
    148151            ComObjPtr <SessionMachine> mMachine;
    149152        };
     
    210213                   (mName == that.mName &&
    211214                    mNameSync == that.mNameSync &&
     215                    mDescription == that.mDescription &&
    212216                    mOSType.equalsTo (that.mOSType) &&
    213217                    mSnapshotFolderFull == that.mSnapshotFolderFull);
    214218        }
    215219
    216         Bstr   mName;
    217         BOOL   mNameSync;
     220        Bstr    mName;
     221        BOOL    mNameSync;
     222        Bstr    mDescription;
    218223        ComPtr <IGuestOSType> mOSType;
    219         Bstr   mSnapshotFolder;
    220         Bstr   mSnapshotFolderFull;
     224        Bstr    mSnapshotFolder;
     225        Bstr    mSnapshotFolderFull;
    221226    };
    222227
     
    305310    STDMETHOD(COMGETTER(Name))(BSTR *aName);
    306311    STDMETHOD(COMSETTER(Name))(INPTR BSTR aName);
     312    STDMETHOD(COMGETTER(Description))(BSTR *aDescription);
     313    STDMETHOD(COMSETTER(Description))(INPTR BSTR aDescription);
    307314    STDMETHOD(COMGETTER(Id))(GUIDPARAMOUT aId);
    308315    STDMETHOD(COMGETTER(OSType)) (IGuestOSType **aOSType);
     
    325332    STDMETHOD(COMGETTER(SettingsFilePath))(BSTR *filePath);
    326333    STDMETHOD(COMGETTER(SettingsModified))(BOOL *modified);
    327     STDMETHOD(COMGETTER(SessionState))(SessionState_T *sessionState);
     334    STDMETHOD(COMGETTER(SessionState))(SessionState_T *aSessionState);
     335    STDMETHOD(COMGETTER(SessionType))(BSTR *aSessionType);
     336    STDMETHOD(COMGETTER(SessionPid))(ULONG *aSessionPid);
    328337    STDMETHOD(COMGETTER(State))(MachineState_T *machineState);
    329338    STDMETHOD(COMGETTER(LastStateChange))(LONG64 *aLastStateChange);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette