summaryrefslogtreecommitdiff
path: root/src/VBox/Main/include/PCIDeviceAttachmentImpl.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/PCIDeviceAttachmentImpl.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/PCIDeviceAttachmentImpl.h')
-rw-r--r--src/VBox/Main/include/PCIDeviceAttachmentImpl.h62
1 files changed, 0 insertions, 62 deletions
diff --git a/src/VBox/Main/include/PCIDeviceAttachmentImpl.h b/src/VBox/Main/include/PCIDeviceAttachmentImpl.h
index e162be1f..8120be5d 100644
--- a/src/VBox/Main/include/PCIDeviceAttachmentImpl.h
+++ b/src/VBox/Main/include/PCIDeviceAttachmentImpl.h
@@ -23,68 +23,6 @@
#include "VirtualBoxBase.h"
#include <VBox/settings.h>
-class ATL_NO_VTABLE PCIAddress :
- public VirtualBoxBase,
- VBOX_SCRIPTABLE_IMPL(IPCIAddress)
-{
-public:
- VIRTUALBOXBASE_ADD_ERRORINFO_SUPPORT(PCIAddress, IPCIAddress)
-
- DECLARE_NOT_AGGREGATABLE(PCIAddress)
-
- DECLARE_PROTECT_FINAL_CONSTRUCT()
-
- BEGIN_COM_MAP(PCIAddress)
- VBOX_DEFAULT_INTERFACE_ENTRIES(IPCIAddress)
- END_COM_MAP()
-
- PCIAddress() { }
- ~PCIAddress() { }
-
- // public initializer/uninitializer for internal purposes only
- HRESULT init(LONG aAddess);
- void uninit();
-
- HRESULT FinalConstruct();
- void FinalRelease();
-
- // IPCIAddress properties
- STDMETHOD(COMGETTER(Bus))(SHORT *aBus)
- {
- *aBus = mBus;
- return S_OK;
- }
- STDMETHOD(COMSETTER(Bus))(SHORT aBus)
- {
- mBus = aBus;
- return S_OK;
- }
- STDMETHOD(COMGETTER(Device))(SHORT *aDevice)
- {
- *aDevice = mDevice;
- return S_OK;
- }
- STDMETHOD(COMSETTER(Device))(SHORT aDevice)
- {
- mDevice = aDevice;
- return S_OK;
- }
-
- STDMETHOD(COMGETTER(DevFunction))(SHORT *aDevFunction)
- {
- *aDevFunction = mFn;
- return S_OK;
- }
- STDMETHOD(COMSETTER(DevFunction))(SHORT aDevFunction)
- {
- mFn = aDevFunction;
- return S_OK;
- }
-
-private:
- SHORT mBus, mDevice, mFn;
-};
-
class ATL_NO_VTABLE PCIDeviceAttachment :
public VirtualBoxBase,
VBOX_SCRIPTABLE_IMPL(IPCIDeviceAttachment)