Changeset 22185 in vbox
- Timestamp:
- Aug 11, 2009 5:27:59 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r22158 r22185 1202 1202 LIB_XPCOM = $(PATH_BIN)/VBoxXPCOM.dylib 1203 1203 LIB_DDU = $(PATH_BIN)/VBoxDDU.dylib 1204 LIB_SETTINGS = $(PATH_BIN)/VBoxSettings.dylib1205 1204 endif 1206 1205 ifeq ($(KBUILD_TARGET),l4) … … 1213 1212 LIB_XPCOM = $(PATH_BIN)/VBoxXPCOM.s.so 1214 1213 LIB_DDU = $(PATH_BIN)/VBoxDDU.s.so 1215 LIB_SETTINGS = $(PATH_BIN)/VBoxSettings.s.so1216 1214 endif 1217 1215 if1of ($(KBUILD_TARGET), linux freebsd netbsd openbsd solaris) … … 1224 1222 LIB_XPCOM = $(PATH_BIN)/VBoxXPCOM.so 1225 1223 LIB_DDU = $(PATH_BIN)/VBoxDDU.so 1226 LIB_SETTINGS = $(PATH_BIN)/VBoxSettings.so1227 1224 endif 1228 1225 ifeq ($(KBUILD_TARGET),os2) … … 1235 1232 LIB_XPCOM = $(PATH_BIN)/VBoxXCOM.dll 1236 1233 LIB_DDU = $(PATH_BIN)/VBoxDDU.dll 1237 LIB_SETTINGS = $(PATH_BIN)/VBoxSett.dll1238 1234 VBOX_OBJ_SYS0 = $(PATH_OBJ)/RuntimeR0/os2/sys0.obj 1239 1235 endif … … 1247 1243 LIB_XPCOM = $(PATH_BIN)/VBoxXPCOM.dll 1248 1244 LIB_DDU = $(PATH_LIB)/VBoxDDU.lib 1249 LIB_SETTINGS = $(PATH_LIB)/VBoxSettings.lib1250 1245 endif 1251 1246 VBOX_LIB_SUPHARDENED = $(PATH_LIB)/SUPR3HardenedStatic$(VBOX_SUFF_LIB) -
trunk/include/VBox/settings.h
r22183 r22185 51 51 #include <vector> 52 52 53 // #ifdef IN_VBOXXML_R354 // # define VBOXXML_CLASS DECLEXPORT_CLASS55 // #else56 // # define VBOXXML_CLASS DECLIMPORT_CLASS57 // #endif58 59 #define VBOXXML_CLASS60 61 53 namespace xml 62 54 { … … 84 76 * which contains some common logic for both. 85 77 */ 86 class VBOXXML_CLASSConfigFileBase78 class ConfigFileBase 87 79 { 88 80 public: … … 127 119 //////////////////////////////////////////////////////////////////////////////// 128 120 129 struct VBOXXML_CLASSUSBDeviceFilter121 struct USBDeviceFilter 130 122 { 131 123 USBDeviceFilter() … … 149 141 }; 150 142 151 struct VBOXXML_CLASSHost143 struct Host 152 144 { 153 145 USBDeviceFiltersList llUSBDeviceFilters; 154 146 }; 155 147 156 struct VBOXXML_CLASSSystemProperties148 struct SystemProperties 157 149 { 158 150 SystemProperties() … … 173 165 typedef std::list<Medium> MediaList; 174 166 175 struct VBOXXML_CLASSMedium167 struct Medium 176 168 { 177 169 com::Guid uuid; … … 188 180 }; 189 181 190 struct VBOXXML_CLASSMachineRegistryEntry182 struct MachineRegistryEntry 191 183 { 192 184 com::Guid uuid; … … 195 187 typedef std::list<MachineRegistryEntry> MachinesRegistry; 196 188 197 struct VBOXXML_CLASSDHCPServer189 struct DHCPServer 198 190 { 199 191 com::Utf8Str strNetworkName, … … 206 198 typedef std::list<DHCPServer> DHCPServersList; 207 199 208 class VBOXXML_CLASSMainConfigFile : public ConfigFileBase200 class MainConfigFile : public ConfigFileBase 209 201 { 210 202 public: … … 238 230 //////////////////////////////////////////////////////////////////////////////// 239 231 240 struct V BOXXML_CLASS VRDPSettings232 struct VRDPSettings 241 233 { 242 234 VRDPSettings() … … 258 250 }; 259 251 260 struct VBOXXML_CLASSBIOSSettings252 struct BIOSSettings 261 253 { 262 254 BIOSSettings() … … 282 274 }; 283 275 284 struct VBOXXML_CLASSDVDDrive276 struct DVDDrive 285 277 { 286 278 DVDDrive() … … 293 285 }; 294 286 295 struct VBOXXML_CLASSFloppyDrive287 struct FloppyDrive 296 288 { 297 289 FloppyDrive() … … 304 296 }; 305 297 306 struct VBOXXML_CLASSUSBController298 struct USBController 307 299 { 308 300 USBController() … … 316 308 }; 317 309 318 struct VBOXXML_CLASSNetworkAdapter310 struct NetworkAdapter 319 311 { 320 312 NetworkAdapter() … … 345 337 typedef std::list<NetworkAdapter> NetworkAdaptersList; 346 338 347 struct VBOXXML_CLASSSerialPort339 struct SerialPort 348 340 { 349 341 SerialPort() … … 366 358 typedef std::list<SerialPort> SerialPortsList; 367 359 368 struct VBOXXML_CLASSParallelPort360 struct ParallelPort 369 361 { 370 362 ParallelPort() … … 383 375 typedef std::list<ParallelPort> ParallelPortsList; 384 376 385 struct VBOXXML_CLASSAudioAdapter377 struct AudioAdapter 386 378 { 387 379 AudioAdapter() … … 396 388 }; 397 389 398 struct VBOXXML_CLASSSharedFolder390 struct SharedFolder 399 391 { 400 392 SharedFolder() … … 408 400 typedef std::list<SharedFolder> SharedFoldersList; 409 401 410 struct VBOXXML_CLASSGuestProperty402 struct GuestProperty 411 403 { 412 404 GuestProperty() … … 423 415 typedef std::map<uint32_t, DeviceType_T> BootOrderMap; 424 416 425 struct VBOXXML_CLASSHardware417 struct Hardware 426 418 { 427 419 Hardware() … … 488 480 }; 489 481 490 struct VBOXXML_CLASSAttachedDevice482 struct AttachedDevice 491 483 { 492 484 AttachedDevice() … … 503 495 typedef std::list<AttachedDevice> AttachedDevicesList; 504 496 505 struct VBOXXML_CLASSStorageController497 struct StorageController 506 498 { 507 499 StorageController() … … 532 524 // wrap the list into an extra struct so we can use the struct without 533 525 // having to define the typedef above in headers 534 struct VBOXXML_CLASSStorage526 struct Storage 535 527 { 536 528 StorageControllersList llStorageControllers; … … 540 532 typedef std::list<Snapshot> SnapshotsList; 541 533 542 struct VBOXXML_CLASSSnapshot534 struct Snapshot 543 535 { 544 536 com::Guid uuid; … … 556 548 557 549 558 class VBOXXML_CLASSMachineConfigFile : public ConfigFileBase550 class MachineConfigFile : public ConfigFileBase 559 551 { 560 552 public: -
trunk/src/VBox/Installer/linux/Makefile.kmk
r21634 r22185 113 113 VBoxNetAdpCtl \ 114 114 VBoxSVC \ 115 VBoxSettings.so \116 115 VBoxXPCOM.so \ 117 116 VBoxXPCOMC.so \ -
trunk/src/VBox/Installer/solaris/Makefile.kmk
r22082 r22185 226 226 VBoxOGLrenderspu.so \ 227 227 VBoxSharedCrOpenGL.so) \ 228 VBoxSettings.so \229 228 components/VBoxC.so \ 230 229 components/VBoxSVCM.so \ -
trunk/src/VBox/Main/Makefile.kmk
r21730 r22185 254 254 255 255 VBoxSVC_LIBS += \ 256 $(LIB_DDU) \ 257 $(LIB_SETTINGS) 256 $(LIB_DDU) 258 257 VBoxSVC_LIBS.darwin = \ 259 258 $(LIB_VMM) \ … … 316 315 Version.cpp \ 317 316 HostPower.cpp \ 317 xml/Settings.cpp \ 318 318 $(if $(VBOX_WITH_VRDP),VRDPServerImpl.cpp,) \ 319 319 $(if $(VBOX_WITH_XPCOM),xpcom/server.cpp,) \ … … 514 514 515 515 endif # VBOX_WITH_XPCOM 516 517 518 #519 # VBoxSettings520 #521 DLLS += VBoxSettings522 VBoxSettings_TEMPLATE = VBOXMAINDLL523 VBoxSettings_NAME = $(basename $(notdir $(LIB_SETTINGS)))524 VBoxSettings_SDKS = VBOX_LIBXSLT VBOX_LIBXML2 VBOX_ZLIB VBOX_BOOST525 VBoxSettings_DEFS = IN_VBOXXML_R3526 VBoxSettings_INCS = \527 include528 VBoxSettings_SOURCES = \529 xml/Settings.cpp530 VBoxSettings_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/$(notdir $(LIB_SETTINGS)) -Wl,-x # no debug info please.531 532 516 533 517 #
Note:
See TracChangeset
for help on using the changeset viewer.