VirtualBox

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


Ignore:
Timestamp:
Jul 6, 2007 9:09:32 PM (18 years ago)
Author:
vboxsync
Message:

added support for serial ports to Main and VBoxManage

Location:
trunk/src/VBox/Main/include
Files:
4 edited

Legend:

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

    r3288 r3494  
    172172    HRESULT onFloppyDriveChange();
    173173    HRESULT onNetworkAdapterChange(INetworkAdapter *networkAdapter);
     174    HRESULT onSerialPortChange(ISerialPort *serialPort);
    174175    HRESULT onVRDPServerChange();
    175176    HRESULT onUSBControllerChange();
  • trunk/src/VBox/Main/include/MachineImpl.h

    r3480 r3494  
    3434#include "NetworkAdapterImpl.h"
    3535#include "AudioAdapterImpl.h"
     36#include "SerialPortImpl.h"
    3637#include "BIOSSettingsImpl.h"
    3738
     
    480481    STDMETHOD(GetHardDisk)(DiskControllerType_T aCtl, LONG aDev, IHardDisk **aHardDisk);
    481482    STDMETHOD(DetachHardDisk) (DiskControllerType_T aCtl, LONG aDev);
     483    STDMETHOD(GetSerialPort) (ULONG slot, ISerialPort **port);
    482484    STDMETHOD(GetNetworkAdapter) (ULONG slot, INetworkAdapter **adapter);
    483485    STDMETHOD(GetNextExtraDataKey)(INPTR BSTR aKey, BSTR *aNextKey, BSTR *aNextValue);
     
    526528    virtual HRESULT onFloppyDriveChange() { return S_OK; }
    527529    virtual HRESULT onNetworkAdapterChange(INetworkAdapter *networkAdapter) { return S_OK; }
     530    virtual HRESULT onSerialPortChange(ISerialPort *serialPort) { return S_OK; }
    528531    virtual HRESULT onVRDPServerChange() { return S_OK; }
    529532    virtual HRESULT onUSBControllerChange() { return S_OK; }
     
    675678    const ComObjPtr <DVDDrive> mDVDDrive;
    676679    const ComObjPtr <FloppyDrive> mFloppyDrive;
     680    const ComObjPtr <SerialPort>
     681        mSerialPorts [SchemaDefs::SerialPortCount];
    677682    const ComObjPtr <AudioAdapter> mAudioAdapter;
    678683    const ComObjPtr <USBController> mUSBController;
    679684    const ComObjPtr <BIOSSettings> mBIOSSettings;
    680 
    681685    const ComObjPtr <NetworkAdapter>
    682686        mNetworkAdapters [SchemaDefs::NetworkAdapterCount];
     
    766770    HRESULT onFloppyDriveChange();
    767771    HRESULT onNetworkAdapterChange(INetworkAdapter *networkAdapter);
     772    HRESULT onSerialPortChange(ISerialPort *serialPort);
    768773    HRESULT onVRDPServerChange();
    769774    HRESULT onUSBControllerChange();
  • trunk/src/VBox/Main/include/SessionImpl.h

    r3480 r3494  
    9898    STDMETHOD(OnFloppyDriveChange)();
    9999    STDMETHOD(OnNetworkAdapterChange)(INetworkAdapter *networkAdapter);
     100    STDMETHOD(OnSerialPortChange)(ISerialPort *serialPort);
    100101    STDMETHOD(OnVRDPServerChange)();
    101102    STDMETHOD(OnUSBControllerChange)();
  • trunk/src/VBox/Main/include/SystemPropertiesImpl.h

    r2981 r3494  
    6363    STDMETHOD(COMGETTER(MaxVDISize)(ULONG64 *maxVDISize));
    6464    STDMETHOD(COMGETTER(NetworkAdapterCount)(ULONG *count));
     65    STDMETHOD(COMGETTER(SerialPortCount)(ULONG *count));
    6566    STDMETHOD(COMGETTER(MaxBootPosition)(ULONG *aMaxBootPosition));
    6667    STDMETHOD(COMGETTER(DefaultVDIFolder)) (BSTR *aDefaultVDIFolder);
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