Lines Matching refs:settings

42 #include <VBox/settings.h>
222 // VirtualBox main settings file
224 settings::MainConfigFile *pMainConfigFile;
398 m->pMainConfigFile = new settings::MainConfigFile(&m->strSettingsFilePath);
403 // only if the main settings file does not exist, create it,
412 m->pMainConfigFile = new settings::MainConfigFile(NULL);
485 for (settings::DHCPServersList::const_iterator it = m->pMainConfigFile->llDhcpServers.begin();
489 const settings::DHCPServer &data = *it;
501 for (settings::NATNetworksList::const_iterator it = m->pMainConfigFile->llNATNetworks.begin();
505 const settings::NATNetwork &net = *it;
597 for (settings::MachinesRegistry::const_iterator it = m->pMainConfigFile->llMachines.begin();
602 const settings::MachineRegistryEntry &xmlMachine = *it;
646 * @param mediaRegistry The XML settings structure to load, either from VirtualBox.xml
651 const settings::MediaRegistry &mediaRegistry,
661 settings::MediaList::const_iterator it;
666 const settings::Medium &xmlHD = *it;
687 const settings::Medium &xmlDvd = *it;
708 const settings::Medium &xmlFloppy = *it;
1324 /* Compose the settings file name using the following scheme:
1510 /* NULL settings file means compose automatically */
1938 using namespace settings;
1957 settings::StringsMap::const_iterator it = m->pMainConfigFile->mapExtraDataItems.find(aKey);
1989 settings::StringsMap::const_iterator it = m->pMainConfigFile->mapExtraDataItems.find(strKey);
2026 /* save settings on success */
2066 * Decrypt all encrypted settings.
2242 * Store a settings key.
3704 // use strTarget as a temporary buffer to hold the machine settings dir
3896 * those into the given settings::MediaRegistry structures whose registry
3924 void VirtualBox::i_saveMediaRegistry(settings::MediaRegistry &mediaRegistry,
3977 // lots of places which would need to handle saving more settings.
3987 // failure means that settings aren't saved, but there isn't
4001 settings::MediaList &llTarget;
4017 settings::MediaList &llTarget = s[i].llTarget;
4030 llTarget.push_back(settings::g_MediumEmpty);
4045 * places internally when settings need saving.
4073 settings::MachineRegistryEntry mre;
4090 settings::DHCPServer d;
4106 settings::NATNetwork n;
4145 * saves global settings.
4604 * Saves all settings files according to the modified flags in the Machine
4640 /* object is already dead, no point in saving settings */
4900 * Remembers the given DHCP server in the settings.
4903 * @param aSaveSettings @c true to save settings to disk (default).
4967 * Removes the given DHCP server from the settings.
4972 * calls. In this case, the DHCP server will NOT be removed from the settings
5088 * Remembers the given NAT network in the settings.
5091 * @param aSaveSettings @c true to save settings to disk (default).
5114 * means that we create duplicate, otherwise we just load settings.
5146 * Removes the given NAT network from the settings.
5149 * @param aSaveSettings @c true to save settings to disk (default).