summaryrefslogtreecommitdiff
path: root/src/VBox/Main/include/MediumAttachmentImpl.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2014-03-26 19:21:20 +0000
committer <>2014-05-08 15:03:54 +0000
commitfb123f93f9f5ce42c8e5785d2f8e0edaf951740e (patch)
treec2103d76aec5f1f10892cd1d3a38e24f665ae5db /src/VBox/Main/include/MediumAttachmentImpl.h
parent58ed4748338f9466599adfc8a9171280ed99e23f (diff)
downloadVirtualBox-master.tar.gz
Imported from /home/lorry/working-area/delta_VirtualBox/VirtualBox-4.3.10.tar.bz2.HEADVirtualBox-4.3.10master
Diffstat (limited to 'src/VBox/Main/include/MediumAttachmentImpl.h')
-rw-r--r--src/VBox/Main/include/MediumAttachmentImpl.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/VBox/Main/include/MediumAttachmentImpl.h b/src/VBox/Main/include/MediumAttachmentImpl.h
index 819317f0..1f3f3d3b 100644
--- a/src/VBox/Main/include/MediumAttachmentImpl.h
+++ b/src/VBox/Main/include/MediumAttachmentImpl.h
@@ -4,7 +4,7 @@
*/
/*
- * Copyright (C) 2006-2011 Oracle Corporation
+ * Copyright (C) 2006-2013 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
@@ -51,6 +51,7 @@ public:
bool fTempEject,
bool fNonRotational,
bool fDiscard,
+ bool fHotPluggable,
const Utf8Str &strBandwidthGroup);
HRESULT initCopy(Machine *aParent, MediumAttachment *aThat);
void uninit();
@@ -70,6 +71,7 @@ public:
STDMETHOD(COMGETTER(NonRotational))(BOOL *aNonRotational);
STDMETHOD(COMGETTER(Discard))(BOOL *aDiscard);
STDMETHOD(COMGETTER(BandwidthGroup))(IBandwidthGroup **aBwGroup);
+ STDMETHOD(COMGETTER(HotPluggable))(BOOL *aHotPluggable);
// public internal methods
void rollback();
@@ -90,6 +92,7 @@ public:
bool getNonRotational() const;
bool getDiscard() const;
const Utf8Str& getBandwidthGroup() const;
+ bool getHotPluggable() const;
bool matches(CBSTR aControllerName, LONG aPort, LONG aDevice);
@@ -116,6 +119,9 @@ public:
void updateParentMachine(Machine * const pMachine);
+ /** Must be called from under this object's write lock. */
+ void updateHotPluggable(bool aHotPluggable);
+
/** Get a unique and somewhat descriptive name for logging. */
const char* getLogName(void) const { return mLogName.c_str(); }