Changeset 18023 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Mar 17, 2009 1:48:59 PM (16 years ago)
- Location:
- trunk/src/VBox/Main/include
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/DHCPServerImpl.h
r18012 r18023 29 29 30 30 #ifdef VBOX_WITH_HOSTNETIF_API 31 /* class D hcpServer; */31 /* class DHCPServer; */ 32 32 /* #include "netif.h" */ 33 33 struct NETIFINFO; 34 34 #endif 35 35 36 class ATL_NO_VTABLE D hcpServer :36 class ATL_NO_VTABLE DHCPServer : 37 37 public VirtualBoxBaseNEXT, 38 public VirtualBoxSupportErrorInfoImpl <D hcpServer, IDhcpServer>,39 public VirtualBoxSupportTranslation <D hcpServer>,40 public ID hcpServer38 public VirtualBoxSupportErrorInfoImpl <DHCPServer, IDHCPServer>, 39 public VirtualBoxSupportTranslation <DHCPServer>, 40 public IDHCPServer 41 41 { 42 42 public: 43 43 44 VIRTUALBOXBASE_ADD_ERRORINFO_SUPPORT (D hcpServer)44 VIRTUALBOXBASE_ADD_ERRORINFO_SUPPORT (DHCPServer) 45 45 46 DECLARE_NOT_AGGREGATABLE (D hcpServer)46 DECLARE_NOT_AGGREGATABLE (DHCPServer) 47 47 48 48 DECLARE_PROTECT_FINAL_CONSTRUCT() 49 49 50 BEGIN_COM_MAP (D hcpServer)50 BEGIN_COM_MAP (DHCPServer) 51 51 COM_INTERFACE_ENTRY (ISupportErrorInfo) 52 COM_INTERFACE_ENTRY (ID hcpServer)52 COM_INTERFACE_ENTRY (IDHCPServer) 53 53 END_COM_MAP() 54 54 55 55 NS_DECL_ISUPPORTS 56 56 57 DECLARE_EMPTY_CTOR_DTOR (D hcpServer)57 DECLARE_EMPTY_CTOR_DTOR (DHCPServer) 58 58 59 59 HRESULT FinalConstruct(); … … 66 66 void uninit(); 67 67 68 // ID hcpServer properties68 // IDHCPServer properties 69 69 STDMETHOD(COMGETTER(NetworkName)) (BSTR *aName); 70 70 STDMETHOD(COMGETTER(Enabled)) (BOOL *aEnabled); … … 78 78 79 79 // for VirtualBoxSupportErrorInfoImpl 80 static const wchar_t *getComponentName() { return L"D hcpServer"; }80 static const wchar_t *getComponentName() { return L"DHCPServer"; } 81 81 82 82 private: -
trunk/src/VBox/Main/include/VirtualBoxImpl.h
r17872 r18023 54 54 class Host; 55 55 class SystemProperties; 56 class D hcpServer;56 class DHCPServer; 57 57 58 58 #ifdef RT_OS_WINDOWS … … 134 134 STDMETHOD(COMGETTER(SharedFolders)) (ComSafeArrayOut (ISharedFolder *, aSharedFolders)); 135 135 STDMETHOD(COMGETTER(PerformanceCollector)) (IPerformanceCollector **aPerformanceCollector); 136 STDMETHOD(COMGETTER(D hcpServers)) (ComSafeArrayOut (IDhcpServer *, aDhcpServers));136 STDMETHOD(COMGETTER(DHCPServers)) (ComSafeArrayOut (IDHCPServer *, aDHCPServers)); 137 137 138 138 /* IVirtualBox methods */ … … 186 186 STDMETHOD(SaveSettingsWithBackup) (BSTR *aBakFileName); 187 187 188 // STDMETHOD(CreateD hcpServerForInterface) (/*IHostNetworkInterface * aIinterface, */IDhcpServer ** aServer);189 STDMETHOD(CreateD hcpServer) (IN_BSTR aName, IDhcpServer ** aServer);190 // STDMETHOD(FindD hcpServerForInterface) (IHostNetworkInterface * aIinterface, IDhcpServer ** aServer);191 STDMETHOD(FindD hcpServerByName) (IN_BSTR aName, IDhcpServer ** aServer);192 STDMETHOD(RemoveD hcpServer) (IDhcpServer * aServer);188 // STDMETHOD(CreateDHCPServerForInterface) (/*IHostNetworkInterface * aIinterface, */IDHCPServer ** aServer); 189 STDMETHOD(CreateDHCPServer) (IN_BSTR aName, IDHCPServer ** aServer); 190 // STDMETHOD(FindDHCPServerForInterface) (IHostNetworkInterface * aIinterface, IDHCPServer ** aServer); 191 STDMETHOD(FindDHCPServerByNetworkName) (IN_BSTR aName, IDHCPServer ** aServer); 192 STDMETHOD(RemoveDHCPServer) (IDHCPServer * aServer); 193 193 194 194 /* public methods only for internal purposes */ … … 373 373 typedef std::list <ComObjPtr <FloppyImage> > FloppyImageList; 374 374 typedef std::list <ComObjPtr <SharedFolder> > SharedFolderList; 375 typedef std::list <ComObjPtr <D hcpServer> > DhcpServerList;375 typedef std::list <ComObjPtr <DHCPServer> > DHCPServerList; 376 376 377 377 typedef std::map <Guid, ComObjPtr<HardDisk> > HardDiskMap; … … 396 396 HRESULT registerMachine (Machine *aMachine); 397 397 398 HRESULT registerD hcpServer(DhcpServer *aDhcpServer,398 HRESULT registerDHCPServer(DHCPServer *aDHCPServer, 399 399 bool aSaveRegistry = true); 400 HRESULT unregisterD hcpServer(DhcpServer *aDhcpServer,400 HRESULT unregisterDHCPServer(DHCPServer *aDHCPServer, 401 401 bool aSaveRegistry = true); 402 402 … … 447 447 FloppyImageList mFloppyImages; 448 448 SharedFolderList mSharedFolders; 449 D hcpServerList mDhcpServers;449 DHCPServerList mDHCPServers; 450 450 451 451 /// @todo NEWMEDIA do we really need this map? Used only in
Note:
See TracChangeset
for help on using the changeset viewer.