Changeset 26171 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Feb 2, 2010 8:37:36 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 57185
- Location:
- trunk/src/VBox/Main/include
- Files:
-
- 1 deleted
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/AudioAdapterImpl.h
r26167 r26171 44 44 Data(); 45 45 46 bool operator== (const Data &that) const47 {48 return this == &that ||49 (mEnabled == that.mEnabled &&50 mAudioDriver == that.mAudioDriver &&51 mAudioController == that.mAudioController);52 }53 54 46 BOOL mEnabled; 55 47 AudioDriverType_T mAudioDriver; … … 92 84 HRESULT saveSettings(settings::AudioAdapter &data); 93 85 94 boolrollback();86 void rollback(); 95 87 void commit(); 96 88 void copyFrom(AudioAdapter *aThat); -
trunk/src/VBox/Main/include/MachineImpl.h
r26167 r26171 225 225 ~UserData(); 226 226 227 bool operator==(const UserData &that) const228 {229 return this == &that230 || ( mName == that.mName231 && mNameSync == that.mNameSync232 && mDescription == that.mDescription233 && mOSTypeId == that.mOSTypeId234 && mSnapshotFolderFull == that.mSnapshotFolderFull235 && mTeleporterEnabled == that.mTeleporterEnabled236 && mTeleporterPort == that.mTeleporterPort237 && mTeleporterAddress == that.mTeleporterAddress238 && mTeleporterPassword == that.mTeleporterPassword239 && mRTCUseUTC == that.mRTCUseUTC);240 }241 242 227 Bstr mName; 243 228 BOOL mNameSync; … … 279 264 HWData(); 280 265 ~HWData(); 281 282 bool operator==(const HWData &that) const;283 266 284 267 Bstr mHWVersion; … … 333 316 MediaData(); 334 317 ~MediaData(); 335 336 bool operator==(const MediaData &that) const;337 318 338 319 typedef std::list< ComObjPtr<MediumAttachment> > AttachmentList; -
trunk/src/VBox/Main/include/MediumAttachmentImpl.h
r26044 r26171 68 68 69 69 // public internal methods 70 boolrollback();70 void rollback(); 71 71 void commit(); 72 72 -
trunk/src/VBox/Main/include/NetworkAdapterImpl.h
r26167 r26171 50 50 mNATNetwork("") /* cannot be null */ 51 51 {} 52 53 bool operator== (const Data &that) const54 {55 return this == &that ||56 (mSlot == that.mSlot &&57 mEnabled == that.mEnabled &&58 mMACAddress == that.mMACAddress &&59 mAttachmentType == that.mAttachmentType &&60 mCableConnected == that.mCableConnected &&61 mLineSpeed == that.mLineSpeed &&62 mTraceEnabled == that.mTraceEnabled &&63 mHostInterface == that.mHostInterface &&64 mInternalNetwork == that.mInternalNetwork &&65 mNATNetwork == that.mNATNetwork);66 }67 52 68 53 NetworkAdapterType_T mAdapterType; … … 139 124 HRESULT saveSettings(settings::NetworkAdapter &data); 140 125 141 bool rollback(); 126 bool isModified(); 127 void rollback(); 142 128 void commit(); 143 129 void copyFrom (NetworkAdapter *aThat); -
trunk/src/VBox/Main/include/ParallelPortImpl.h
r26167 r26171 78 78 HRESULT saveSettings(settings::ParallelPort &data); 79 79 80 bool rollback(); 80 bool isModified(); 81 void rollback(); 81 82 void commit(); 82 83 void copyFrom(ParallelPort *aThat); -
trunk/src/VBox/Main/include/SerialPortImpl.h
r26167 r26171 84 84 HRESULT saveSettings(settings::SerialPort &data); 85 85 86 bool rollback(); 86 bool isModified(); 87 void rollback(); 87 88 void commit(); 88 89 void copyFrom(SerialPort *aThat); -
trunk/src/VBox/Main/include/StorageControllerImpl.h
r26167 r26171 89 89 ULONG getInstance() const; 90 90 91 boolrollback();91 void rollback(); 92 92 void commit(); 93 93 -
trunk/src/VBox/Main/include/USBControllerImpl.h
r26167 r26171 83 83 HRESULT saveSettings(settings::USBController &data); 84 84 85 boolrollback();85 void rollback(); 86 86 void commit(); 87 87 void copyFrom (USBController *aThat); -
trunk/src/VBox/Main/include/VRDPServerImpl.h
r26167 r26171 44 44 struct Data 45 45 { 46 bool operator== (const Data &that) const47 {48 return this == &that ||49 (mEnabled == that.mEnabled &&50 mVRDPPorts == that.mVRDPPorts &&51 mVRDPAddress == that.mVRDPAddress &&52 mAuthType == that.mAuthType &&53 mAuthTimeout == that.mAuthTimeout &&54 mAllowMultiConnection == that.mAllowMultiConnection &&55 mReuseSingleConnection == that.mReuseSingleConnection);56 }57 58 46 BOOL mEnabled; 59 47 Bstr mVRDPPorts; … … 111 99 HRESULT saveSettings(settings::VRDPSettings &data); 112 100 113 boolrollback();101 void rollback(); 114 102 void commit(); 115 103 void copyFrom (VRDPServer *aThat); -
trunk/src/VBox/Main/include/VirtualBoxBase.h
r26044 r26171 1680 1680 } 1681 1681 1682 bool hasActualChanges() const1683 {1684 AssertMsg(this->mData, ("data must not be NULL"));1685 return this->mData != NULL && mBackupData != NULL &&1686 !(*this->mData == *mBackupData);1687 }1688 1689 1682 D *backedUpData() const 1690 1683 {
Note:
See TracChangeset
for help on using the changeset viewer.