VirtualBox

Changeset 71437 in vbox for trunk/src


Ignore:
Timestamp:
Mar 21, 2018 4:29:44 PM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9049: Heavy cleanup/refactoring for UIExtraData* stuff.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/extradata
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataDefs.cpp

    r71104 r71437  
    55
    66/*
    7  * Copyright (C) 2006-2017 Oracle Corporation
     7 * Copyright (C) 2006-2018 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    2727
    2828/* General: */
    29 const char* UIExtraDataDefs::GUI_EventHandlingType = "GUI/EventHandlingType";
     29const char *UIExtraDataDefs::GUI_EventHandlingType = "GUI/EventHandlingType";
     30
    3031
    3132/* Messaging: */
    32 const char* UIExtraDataDefs::GUI_SuppressMessages = "GUI/SuppressMessages";
    33 const char* UIExtraDataDefs::GUI_InvertMessageOption = "GUI/InvertMessageOption";
     33const char *UIExtraDataDefs::GUI_SuppressMessages = "GUI/SuppressMessages";
     34const char *UIExtraDataDefs::GUI_InvertMessageOption = "GUI/InvertMessageOption";
    3435#if !defined(VBOX_BLEEDING_EDGE) && !defined(DEBUG)
    35 const char* UIExtraDataDefs::GUI_PreventBetaWarning = "GUI/PreventBetaWarning";
    36 #endif /* !defined(VBOX_BLEEDING_EDGE) && !defined(DEBUG) */
     36const char *UIExtraDataDefs::GUI_PreventBetaWarning = "GUI/PreventBetaWarning";
     37#endif
     38
    3739
    3840#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
    3941/* Application Update: */
    40 const char* UIExtraDataDefs::GUI_PreventApplicationUpdate = "GUI/PreventApplicationUpdate";
    41 const char* UIExtraDataDefs::GUI_UpdateDate = "GUI/UpdateDate";
    42 const char* UIExtraDataDefs::GUI_UpdateCheckCount = "GUI/UpdateCheckCount";
     42const char *UIExtraDataDefs::GUI_PreventApplicationUpdate = "GUI/PreventApplicationUpdate";
     43const char *UIExtraDataDefs::GUI_UpdateDate = "GUI/UpdateDate";
     44const char *UIExtraDataDefs::GUI_UpdateCheckCount = "GUI/UpdateCheckCount";
    4345#endif /* VBOX_GUI_WITH_NETWORK_MANAGER */
    4446
     47
    4548/* Progress: */
    46 const char* UIExtraDataDefs::GUI_Progress_LegacyMode = "GUI/Progress/LegacyMode";
     49const char *UIExtraDataDefs::GUI_Progress_LegacyMode = "GUI/Progress/LegacyMode";
     50
    4751
    4852/* Settings: */
    49 const char* UIExtraDataDefs::GUI_Customizations = "GUI/Customizations";
    50 const char* UIExtraDataDefs::GUI_RestrictedGlobalSettingsPages = "GUI/RestrictedGlobalSettingsPages";
    51 const char* UIExtraDataDefs::GUI_RestrictedMachineSettingsPages = "GUI/RestrictedMachineSettingsPages";
     53const char *UIExtraDataDefs::GUI_Customizations = "GUI/Customizations";
     54const char *UIExtraDataDefs::GUI_RestrictedGlobalSettingsPages = "GUI/RestrictedGlobalSettingsPages";
     55const char *UIExtraDataDefs::GUI_RestrictedMachineSettingsPages = "GUI/RestrictedMachineSettingsPages";
    5256
    5357/* Settings: General: */
    54 const char* UIExtraDataDefs::GUI_HostScreenSaverDisabled = "GUI/HostScreenSaverDisabled";
     58const char *UIExtraDataDefs::GUI_HostScreenSaverDisabled = "GUI/HostScreenSaverDisabled";
    5559
    5660/* Settings: Language: */
    57 const char* UIExtraDataDefs::GUI_LanguageID = "GUI/LanguageID";
     61const char *UIExtraDataDefs::GUI_LanguageID = "GUI/LanguageID";
    5862
    5963/* Settings: Display: */
    60 const char* UIExtraDataDefs::GUI_MaxGuestResolution = "GUI/MaxGuestResolution";
    61 const char* UIExtraDataDefs::GUI_ActivateHoveredMachineWindow = "GUI/ActivateHoveredMachineWindow";
     64const char *UIExtraDataDefs::GUI_MaxGuestResolution = "GUI/MaxGuestResolution";
     65const char *UIExtraDataDefs::GUI_ActivateHoveredMachineWindow = "GUI/ActivateHoveredMachineWindow";
    6266
    6367/* Settings: Keyboard: */
    64 const char* UIExtraDataDefs::GUI_Input_SelectorShortcuts = "GUI/Input/SelectorShortcuts";
    65 const char* UIExtraDataDefs::GUI_Input_MachineShortcuts = "GUI/Input/MachineShortcuts";
    66 const char* UIExtraDataDefs::GUI_Input_HostKeyCombination = "GUI/Input/HostKeyCombination";
    67 const char* UIExtraDataDefs::GUI_Input_AutoCapture = "GUI/Input/AutoCapture";
    68 const char* UIExtraDataDefs::GUI_RemapScancodes = "GUI/RemapScancodes";
     68const char *UIExtraDataDefs::GUI_Input_SelectorShortcuts = "GUI/Input/SelectorShortcuts";
     69const char *UIExtraDataDefs::GUI_Input_MachineShortcuts = "GUI/Input/MachineShortcuts";
     70const char *UIExtraDataDefs::GUI_Input_HostKeyCombination = "GUI/Input/HostKeyCombination";
     71const char *UIExtraDataDefs::GUI_Input_AutoCapture = "GUI/Input/AutoCapture";
     72const char *UIExtraDataDefs::GUI_RemapScancodes = "GUI/RemapScancodes";
    6973
    7074/* Settings: Proxy: */
    71 const char* UIExtraDataDefs::GUI_ProxySettings = "GUI/ProxySettings";
     75const char *UIExtraDataDefs::GUI_ProxySettings = "GUI/ProxySettings";
    7276
    7377/* Settings: Storage: */
    74 const char* UIExtraDataDefs::GUI_RecentFolderHD = "GUI/RecentFolderHD";
    75 const char* UIExtraDataDefs::GUI_RecentFolderCD = "GUI/RecentFolderCD";
    76 const char* UIExtraDataDefs::GUI_RecentFolderFD = "GUI/RecentFolderFD";
    77 const char* UIExtraDataDefs::GUI_RecentFolderVISOContent = "GUI/RecentFolderVISOContent";
    78 const char* UIExtraDataDefs::GUI_RecentListHD = "GUI/RecentListHD";
    79 const char* UIExtraDataDefs::GUI_RecentListCD = "GUI/RecentListCD";
    80 const char* UIExtraDataDefs::GUI_RecentListFD = "GUI/RecentListFD";
     78const char *UIExtraDataDefs::GUI_RecentFolderHD = "GUI/RecentFolderHD";
     79const char *UIExtraDataDefs::GUI_RecentFolderCD = "GUI/RecentFolderCD";
     80const char *UIExtraDataDefs::GUI_RecentFolderFD = "GUI/RecentFolderFD";
     81const char *UIExtraDataDefs::GUI_RecentFolderVISOContent = "GUI/RecentFolderVISOContent";
     82const char *UIExtraDataDefs::GUI_RecentListHD = "GUI/RecentListHD";
     83const char *UIExtraDataDefs::GUI_RecentListCD = "GUI/RecentListCD";
     84const char *UIExtraDataDefs::GUI_RecentListFD = "GUI/RecentListFD";
     85
    8186
    8287/* VirtualBox Manager: */
    83 const char* UIExtraDataDefs::GUI_LastSelectorWindowPosition = "GUI/LastWindowPosition";
    84 const char* UIExtraDataDefs::GUI_SplitterSizes = "GUI/SplitterSizes";
    85 const char* UIExtraDataDefs::GUI_Toolbar = "GUI/Toolbar";
    86 const char* UIExtraDataDefs::GUI_Toolbar_Text = "GUI/Toolbar/Text";
    87 const char* UIExtraDataDefs::GUI_Toolbar_MachineTools_Order = "GUI/Toolbar/MachineTools/Order";
    88 const char* UIExtraDataDefs::GUI_Toolbar_GlobalTools_Order = "GUI/Toolbar/GlobalTools/Order";
    89 const char* UIExtraDataDefs::GUI_Statusbar = "GUI/Statusbar";
    90 const char* UIExtraDataDefs::GUI_GroupDefinitions = "GUI/GroupDefinitions";
    91 const char* UIExtraDataDefs::GUI_LastItemSelected = "GUI/LastItemSelected";
    92 const char* UIExtraDataDefs::GUI_DetailsPageBoxes = "GUI/DetailsPageBoxes";
    93 const char* UIExtraDataDefs::GUI_PreviewUpdate = "GUI/PreviewUpdate";
     88const char *UIExtraDataDefs::GUI_LastSelectorWindowPosition = "GUI/LastWindowPosition";
     89const char *UIExtraDataDefs::GUI_SplitterSizes = "GUI/SplitterSizes";
     90const char *UIExtraDataDefs::GUI_Toolbar = "GUI/Toolbar";
     91const char *UIExtraDataDefs::GUI_Toolbar_Text = "GUI/Toolbar/Text";
     92const char *UIExtraDataDefs::GUI_Toolbar_MachineTools_Order = "GUI/Toolbar/MachineTools/Order";
     93const char *UIExtraDataDefs::GUI_Toolbar_GlobalTools_Order = "GUI/Toolbar/GlobalTools/Order";
     94const char *UIExtraDataDefs::GUI_Statusbar = "GUI/Statusbar";
     95const char *UIExtraDataDefs::GUI_GroupDefinitions = "GUI/GroupDefinitions";
     96const char *UIExtraDataDefs::GUI_LastItemSelected = "GUI/LastItemSelected";
     97const char *UIExtraDataDefs::GUI_DetailsPageBoxes = "GUI/DetailsPageBoxes";
     98const char *UIExtraDataDefs::GUI_PreviewUpdate = "GUI/PreviewUpdate";
    9499
    95100/* Snapshot Manager: */
    96 const char* UIExtraDataDefs::GUI_SnapshotManager_Details_Expanded = "GUI/SnapshotManager/Details/Expanded";
     101const char *UIExtraDataDefs::GUI_SnapshotManager_Details_Expanded = "GUI/SnapshotManager/Details/Expanded";
    97102
    98103/* Virtual Media Manager: */
    99 const char* UIExtraDataDefs::GUI_VirtualMediaManager_Details_Expanded = "GUI/VirtualMediaManager/Details/Expanded";
     104const char *UIExtraDataDefs::GUI_VirtualMediaManager_Details_Expanded = "GUI/VirtualMediaManager/Details/Expanded";
    100105
    101106/* Host Network Manager: */
    102 const char* UIExtraDataDefs::GUI_HostNetworkManager_Details_Expanded = "GUI/HostNetworkManager/Details/Expanded";
     107const char *UIExtraDataDefs::GUI_HostNetworkManager_Details_Expanded = "GUI/HostNetworkManager/Details/Expanded";
     108
     109#ifdef VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
     110/* Extra-data Manager: */
     111const char *UIExtraDataDefs::GUI_ExtraDataManager_Geometry = "GUI/ExtraDataManager/Geometry";
     112const char *UIExtraDataDefs::GUI_ExtraDataManager_SplitterHints = "GUI/ExtraDataManager/SplitterHints";
     113#endif /* VBOX_GUI_WITH_EXTRADATA_MANAGER_UI */
    103114
    104115/* Wizards: */
    105 const char* UIExtraDataDefs::GUI_HideDescriptionForWizards = "GUI/HideDescriptionForWizards";
     116const char *UIExtraDataDefs::GUI_HideDescriptionForWizards = "GUI/HideDescriptionForWizards";
     117
    106118
    107119/* Virtual Machine: */
    108 const char* UIExtraDataDefs::GUI_HideFromManager = "GUI/HideFromManager";
    109 const char* UIExtraDataDefs::GUI_HideDetails = "GUI/HideDetails";
    110 const char* UIExtraDataDefs::GUI_PreventReconfiguration = "GUI/PreventReconfiguration";
    111 const char* UIExtraDataDefs::GUI_PreventSnapshotOperations = "GUI/PreventSnapshotOperations";
    112 const char* UIExtraDataDefs::GUI_FirstRun = "GUI/FirstRun";
    113 const char* UIExtraDataDefs::GUI_MachineWindowIcons = "GUI/MachineWindowIcons";
     120const char *UIExtraDataDefs::GUI_HideFromManager = "GUI/HideFromManager";
     121const char *UIExtraDataDefs::GUI_HideDetails = "GUI/HideDetails";
     122const char *UIExtraDataDefs::GUI_PreventReconfiguration = "GUI/PreventReconfiguration";
     123const char *UIExtraDataDefs::GUI_PreventSnapshotOperations = "GUI/PreventSnapshotOperations";
     124const char *UIExtraDataDefs::GUI_FirstRun = "GUI/FirstRun";
     125const char *UIExtraDataDefs::GUI_MachineWindowIcons = "GUI/MachineWindowIcons";
    114126#ifndef VBOX_WS_MAC
    115 const char* UIExtraDataDefs::GUI_MachineWindowNamePostfix = "GUI/MachineWindowNamePostfix";
    116 #endif /* !VBOX_WS_MAC */
    117 const char* UIExtraDataDefs::GUI_LastNormalWindowPosition = "GUI/LastNormalWindowPosition";
    118 const char* UIExtraDataDefs::GUI_LastScaleWindowPosition = "GUI/LastScaleWindowPosition";
    119 const char* UIExtraDataDefs::GUI_Geometry_State_Max = "max";
     127const char *UIExtraDataDefs::GUI_MachineWindowNamePostfix = "GUI/MachineWindowNamePostfix";
     128#endif
     129const char *UIExtraDataDefs::GUI_LastNormalWindowPosition = "GUI/LastNormalWindowPosition";
     130const char *UIExtraDataDefs::GUI_LastScaleWindowPosition = "GUI/LastScaleWindowPosition";
     131const char *UIExtraDataDefs::GUI_Geometry_State_Max = "max";
    120132#ifndef VBOX_WS_MAC
    121 const char* UIExtraDataDefs::GUI_MenuBar_Enabled = "GUI/MenuBar/Enabled";
    122 #endif /* !VBOX_WS_MAC */
    123 const char* UIExtraDataDefs::GUI_MenuBar_ContextMenu_Enabled = "GUI/MenuBar/ContextMenu/Enabled";
    124 const char* UIExtraDataDefs::GUI_RestrictedRuntimeMenus = "GUI/RestrictedRuntimeMenus";
    125 const char* UIExtraDataDefs::GUI_RestrictedRuntimeApplicationMenuActions = "GUI/RestrictedRuntimeApplicationMenuActions";
    126 const char* UIExtraDataDefs::GUI_RestrictedRuntimeMachineMenuActions = "GUI/RestrictedRuntimeMachineMenuActions";
    127 const char* UIExtraDataDefs::GUI_RestrictedRuntimeViewMenuActions = "GUI/RestrictedRuntimeViewMenuActions";
    128 const char* UIExtraDataDefs::GUI_RestrictedRuntimeInputMenuActions = "GUI/RestrictedRuntimeInputMenuActions";
    129 const char* UIExtraDataDefs::GUI_RestrictedRuntimeDevicesMenuActions = "GUI/RestrictedRuntimeDevicesMenuActions";
     133const char *UIExtraDataDefs::GUI_MenuBar_Enabled = "GUI/MenuBar/Enabled";
     134#endif
     135const char *UIExtraDataDefs::GUI_MenuBar_ContextMenu_Enabled = "GUI/MenuBar/ContextMenu/Enabled";
     136const char *UIExtraDataDefs::GUI_RestrictedRuntimeMenus = "GUI/RestrictedRuntimeMenus";
     137const char *UIExtraDataDefs::GUI_RestrictedRuntimeApplicationMenuActions = "GUI/RestrictedRuntimeApplicationMenuActions";
     138const char *UIExtraDataDefs::GUI_RestrictedRuntimeMachineMenuActions = "GUI/RestrictedRuntimeMachineMenuActions";
     139const char *UIExtraDataDefs::GUI_RestrictedRuntimeViewMenuActions = "GUI/RestrictedRuntimeViewMenuActions";
     140const char *UIExtraDataDefs::GUI_RestrictedRuntimeInputMenuActions = "GUI/RestrictedRuntimeInputMenuActions";
     141const char *UIExtraDataDefs::GUI_RestrictedRuntimeDevicesMenuActions = "GUI/RestrictedRuntimeDevicesMenuActions";
    130142#ifdef VBOX_WITH_DEBUGGER_GUI
    131 const char* UIExtraDataDefs::GUI_RestrictedRuntimeDebuggerMenuActions = "GUI/RestrictedRuntimeDebuggerMenuActions";
    132 #endif /* VBOX_WITH_DEBUGGER_GUI */
     143const char *UIExtraDataDefs::GUI_RestrictedRuntimeDebuggerMenuActions = "GUI/RestrictedRuntimeDebuggerMenuActions";
     144#endif
    133145#ifdef VBOX_WS_MAC
    134 const char* UIExtraDataDefs::GUI_RestrictedRuntimeWindowMenuActions = "GUI/RestrictedRuntimeWindowMenuActions";
    135 #endif /* VBOX_WS_MAC */
    136 const char* UIExtraDataDefs::GUI_RestrictedRuntimeHelpMenuActions = "GUI/RestrictedRuntimeHelpMenuActions";
    137 const char* UIExtraDataDefs::GUI_RestrictedVisualStates = "GUI/RestrictedVisualStates";
    138 const char* UIExtraDataDefs::GUI_Fullscreen = "GUI/Fullscreen";
    139 const char* UIExtraDataDefs::GUI_Seamless = "GUI/Seamless";
    140 const char* UIExtraDataDefs::GUI_Scale = "GUI/Scale";
     146const char *UIExtraDataDefs::GUI_RestrictedRuntimeWindowMenuActions = "GUI/RestrictedRuntimeWindowMenuActions";
     147#endif
     148const char *UIExtraDataDefs::GUI_RestrictedRuntimeHelpMenuActions = "GUI/RestrictedRuntimeHelpMenuActions";
     149const char *UIExtraDataDefs::GUI_RestrictedVisualStates = "GUI/RestrictedVisualStates";
     150const char *UIExtraDataDefs::GUI_Fullscreen = "GUI/Fullscreen";
     151const char *UIExtraDataDefs::GUI_Seamless = "GUI/Seamless";
     152const char *UIExtraDataDefs::GUI_Scale = "GUI/Scale";
    141153#ifdef VBOX_WS_X11
    142 const char* UIExtraDataDefs::GUI_Fullscreen_LegacyMode = "GUI/Fullscreen/LegacyMode";
    143 const char* UIExtraDataDefs::GUI_DistinguishMachineWindowGroups = "GUI/DistinguishMachineWindowGroups";
     154const char *UIExtraDataDefs::GUI_Fullscreen_LegacyMode = "GUI/Fullscreen/LegacyMode";
     155const char *UIExtraDataDefs::GUI_DistinguishMachineWindowGroups = "GUI/DistinguishMachineWindowGroups";
    144156#endif /* VBOX_WS_X11 */
    145 const char* UIExtraDataDefs::GUI_AutoresizeGuest = "GUI/AutoresizeGuest";
    146 const char* UIExtraDataDefs::GUI_LastVisibilityStatusForGuestScreen = "GUI/LastVisibilityStatusForGuestScreen";
    147 const char* UIExtraDataDefs::GUI_LastGuestSizeHint = "GUI/LastGuestSizeHint";
    148 const char* UIExtraDataDefs::GUI_VirtualScreenToHostScreen = "GUI/VirtualScreenToHostScreen";
    149 const char* UIExtraDataDefs::GUI_AutomountGuestScreens = "GUI/AutomountGuestScreens";
     157const char *UIExtraDataDefs::GUI_AutoresizeGuest = "GUI/AutoresizeGuest";
     158const char *UIExtraDataDefs::GUI_LastVisibilityStatusForGuestScreen = "GUI/LastVisibilityStatusForGuestScreen";
     159const char *UIExtraDataDefs::GUI_LastGuestSizeHint = "GUI/LastGuestSizeHint";
     160const char *UIExtraDataDefs::GUI_VirtualScreenToHostScreen = "GUI/VirtualScreenToHostScreen";
     161const char *UIExtraDataDefs::GUI_AutomountGuestScreens = "GUI/AutomountGuestScreens";
    150162#ifdef VBOX_WITH_VIDEOHWACCEL
    151 const char* UIExtraDataDefs::GUI_Accelerate2D_StretchLinear = "GUI/Accelerate2D/StretchLinear";
    152 const char* UIExtraDataDefs::GUI_Accelerate2D_PixformatYV12 = "GUI/Accelerate2D/PixformatYV12";
    153 const char* UIExtraDataDefs::GUI_Accelerate2D_PixformatUYVY = "GUI/Accelerate2D/PixformatUYVY";
    154 const char* UIExtraDataDefs::GUI_Accelerate2D_PixformatYUY2 = "GUI/Accelerate2D/PixformatYUY2";
    155 const char* UIExtraDataDefs::GUI_Accelerate2D_PixformatAYUV = "GUI/Accelerate2D/PixformatAYUV";
     163const char *UIExtraDataDefs::GUI_Accelerate2D_StretchLinear = "GUI/Accelerate2D/StretchLinear";
     164const char *UIExtraDataDefs::GUI_Accelerate2D_PixformatYV12 = "GUI/Accelerate2D/PixformatYV12";
     165const char *UIExtraDataDefs::GUI_Accelerate2D_PixformatUYVY = "GUI/Accelerate2D/PixformatUYVY";
     166const char *UIExtraDataDefs::GUI_Accelerate2D_PixformatYUY2 = "GUI/Accelerate2D/PixformatYUY2";
     167const char *UIExtraDataDefs::GUI_Accelerate2D_PixformatAYUV = "GUI/Accelerate2D/PixformatAYUV";
    156168#endif /* VBOX_WITH_VIDEOHWACCEL */
    157169#ifndef VBOX_WS_MAC
    158 const char* UIExtraDataDefs::GUI_ShowMiniToolBar = "GUI/ShowMiniToolBar";
    159 const char* UIExtraDataDefs::GUI_MiniToolBarAutoHide = "GUI/MiniToolBarAutoHide";
    160 const char* UIExtraDataDefs::GUI_MiniToolBarAlignment = "GUI/MiniToolBarAlignment";
     170const char *UIExtraDataDefs::GUI_ShowMiniToolBar = "GUI/ShowMiniToolBar";
     171const char *UIExtraDataDefs::GUI_MiniToolBarAutoHide = "GUI/MiniToolBarAutoHide";
     172const char *UIExtraDataDefs::GUI_MiniToolBarAlignment = "GUI/MiniToolBarAlignment";
    161173#endif /* !VBOX_WS_MAC */
    162 const char* UIExtraDataDefs::GUI_StatusBar_Enabled = "GUI/StatusBar/Enabled";
    163 const char* UIExtraDataDefs::GUI_StatusBar_ContextMenu_Enabled = "GUI/StatusBar/ContextMenu/Enabled";
    164 const char* UIExtraDataDefs::GUI_RestrictedStatusBarIndicators = "GUI/RestrictedStatusBarIndicators";
    165 const char* UIExtraDataDefs::GUI_StatusBar_IndicatorOrder = "GUI/StatusBar/IndicatorOrder";
     174const char *UIExtraDataDefs::GUI_StatusBar_Enabled = "GUI/StatusBar/Enabled";
     175const char *UIExtraDataDefs::GUI_StatusBar_ContextMenu_Enabled = "GUI/StatusBar/ContextMenu/Enabled";
     176const char *UIExtraDataDefs::GUI_RestrictedStatusBarIndicators = "GUI/RestrictedStatusBarIndicators";
     177const char *UIExtraDataDefs::GUI_StatusBar_IndicatorOrder = "GUI/StatusBar/IndicatorOrder";
    166178#ifdef VBOX_WS_MAC
    167 const char* UIExtraDataDefs::GUI_RealtimeDockIconUpdateEnabled = "GUI/RealtimeDockIconUpdateEnabled";
    168 const char* UIExtraDataDefs::GUI_RealtimeDockIconUpdateMonitor = "GUI/RealtimeDockIconUpdateMonitor";
    169 const char* UIExtraDataDefs::GUI_DockIconDisableOverlay = "GUI/DockIconDisableOverlay";
     179const char *UIExtraDataDefs::GUI_RealtimeDockIconUpdateEnabled = "GUI/RealtimeDockIconUpdateEnabled";
     180const char *UIExtraDataDefs::GUI_RealtimeDockIconUpdateMonitor = "GUI/RealtimeDockIconUpdateMonitor";
     181const char *UIExtraDataDefs::GUI_DockIconDisableOverlay = "GUI/DockIconDisableOverlay";
    170182#endif /* VBOX_WS_MAC */
    171 const char* UIExtraDataDefs::GUI_PassCAD = "GUI/PassCAD";
    172 const char* UIExtraDataDefs::GUI_MouseCapturePolicy = "GUI/MouseCapturePolicy";
    173 const char* UIExtraDataDefs::GUI_GuruMeditationHandler = "GUI/GuruMeditationHandler";
    174 const char* UIExtraDataDefs::GUI_HidLedsSync = "GUI/HidLedsSync";
    175 const char* UIExtraDataDefs::GUI_ScaleFactor = "GUI/ScaleFactor";
    176 const char* UIExtraDataDefs::GUI_Scaling_Optimization = "GUI/Scaling/Optimization";
     183const char *UIExtraDataDefs::GUI_PassCAD = "GUI/PassCAD";
     184const char *UIExtraDataDefs::GUI_MouseCapturePolicy = "GUI/MouseCapturePolicy";
     185const char *UIExtraDataDefs::GUI_GuruMeditationHandler = "GUI/GuruMeditationHandler";
     186const char *UIExtraDataDefs::GUI_HidLedsSync = "GUI/HidLedsSync";
     187const char *UIExtraDataDefs::GUI_ScaleFactor = "GUI/ScaleFactor";
     188const char *UIExtraDataDefs::GUI_Scaling_Optimization = "GUI/Scaling/Optimization";
    177189
    178190/* Virtual Machine: Information dialog: */
    179 const char* UIExtraDataDefs::GUI_InformationWindowGeometry = "GUI/InformationWindowGeometry";
    180 const char* UIExtraDataDefs::GUI_InformationWindowElements = "GUI/InformationWindowElements";
     191const char *UIExtraDataDefs::GUI_InformationWindowGeometry = "GUI/InformationWindowGeometry";
     192const char *UIExtraDataDefs::GUI_InformationWindowElements = "GUI/InformationWindowElements";
    181193
    182194/* Virtual Machine: Close dialog: */
    183 const char* UIExtraDataDefs::GUI_DefaultCloseAction = "GUI/DefaultCloseAction";
    184 const char* UIExtraDataDefs::GUI_RestrictedCloseActions = "GUI/RestrictedCloseActions";
    185 const char* UIExtraDataDefs::GUI_LastCloseAction = "GUI/LastCloseAction";
    186 const char* UIExtraDataDefs::GUI_CloseActionHook = "GUI/CloseActionHook";
     195const char *UIExtraDataDefs::GUI_DefaultCloseAction = "GUI/DefaultCloseAction";
     196const char *UIExtraDataDefs::GUI_RestrictedCloseActions = "GUI/RestrictedCloseActions";
     197const char *UIExtraDataDefs::GUI_LastCloseAction = "GUI/LastCloseAction";
     198const char *UIExtraDataDefs::GUI_CloseActionHook = "GUI/CloseActionHook";
    187199
    188200#ifdef VBOX_WITH_DEBUGGER_GUI
    189201/* Virtual Machine: Debug UI: */
    190 const char* UIExtraDataDefs::GUI_Dbg_Enabled = "GUI/Dbg/Enabled";
    191 const char* UIExtraDataDefs::GUI_Dbg_AutoShow = "GUI/Dbg/AutoShow";
     202const char *UIExtraDataDefs::GUI_Dbg_Enabled = "GUI/Dbg/Enabled";
     203const char *UIExtraDataDefs::GUI_Dbg_AutoShow = "GUI/Dbg/AutoShow";
    192204#endif /* VBOX_WITH_DEBUGGER_GUI */
    193205
    194 #ifdef VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
    195 /* VirtualBox: Extra-data Manager window: */
    196 const char* UIExtraDataDefs::GUI_ExtraDataManager_Geometry = "GUI/ExtraDataManager/Geometry";
    197 const char* UIExtraDataDefs::GUI_ExtraDataManager_SplitterHints = "GUI/ExtraDataManager/SplitterHints";
    198 #endif /* VBOX_GUI_WITH_EXTRADATA_MANAGER_UI */
    199 
    200 /* Virtual Machine: Log dialog: */
    201 const char* UIExtraDataDefs::GUI_LogWindowGeometry = "GUI/LogWindowGeometry";
    202 
     206/* Virtual Machine: Log-viewer: */
     207const char *UIExtraDataDefs::GUI_LogWindowGeometry = "GUI/LogWindowGeometry";
     208
  • trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataDefs.h

    r71104 r71437  
    55
    66/*
    7  * Copyright (C) 2006-2017 Oracle Corporation
     7 * Copyright (C) 2006-2018 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    3333      * @{ */
    3434        /** Holds event handling type. */
    35         extern const char* GUI_EventHandlingType;
     35        extern const char *GUI_EventHandlingType;
    3636    /** @} */
    3737
     
    3939      * @{ */
    4040        /** Holds the list of supressed messages for the Message/Popup center frameworks. */
    41         extern const char* GUI_SuppressMessages;
     41        extern const char *GUI_SuppressMessages;
    4242        /** Holds the list of messages for the Message/Popup center frameworks with inverted check-box state. */
    43         extern const char* GUI_InvertMessageOption;
     43        extern const char *GUI_InvertMessageOption;
    4444#if !defined(VBOX_BLEEDING_EDGE) && !defined(DEBUG)
    4545        /** Holds version for which user wants to prevent BETA build warning. */
    46         extern const char* GUI_PreventBetaWarning;
    47 #endif /* !defined(VBOX_BLEEDING_EDGE) && !defined(DEBUG) */
     46        extern const char *GUI_PreventBetaWarning;
     47#endif
    4848    /** @} */
    4949
     
    5252      * @{ */
    5353        /** Holds whether Application Update functionality enabled. */
    54         extern const char* GUI_PreventApplicationUpdate;
     54        extern const char *GUI_PreventApplicationUpdate;
    5555        /** Holds Application Update data. */
    56         extern const char* GUI_UpdateDate;
     56        extern const char *GUI_UpdateDate;
    5757        /** Holds Application Update check counter. */
    58         extern const char* GUI_UpdateCheckCount;
     58        extern const char *GUI_UpdateCheckCount;
    5959    /** @} */
    6060#endif /* VBOX_GUI_WITH_NETWORK_MANAGER */
     
    6363      * @{ */
    6464        /** Holds whether legacy progress handling method is requested. */
    65         extern const char* GUI_Progress_LegacyMode;
     65        extern const char *GUI_Progress_LegacyMode;
    6666    /** @} */
    6767
     
    6969      * @{ */
    7070        /** Holds GUI feature list. */
    71         extern const char* GUI_Customizations;
     71        extern const char *GUI_Customizations;
    7272        /** Holds restricted Global Settings pages. */
    73         extern const char* GUI_RestrictedGlobalSettingsPages;
     73        extern const char *GUI_RestrictedGlobalSettingsPages;
    7474        /** Holds restricted Machine Settings pages. */
    75         extern const char* GUI_RestrictedMachineSettingsPages;
     75        extern const char *GUI_RestrictedMachineSettingsPages;
    7676    /** @} */
    7777
     
    7979      * @{ */
    8080        /** Holds whether host screen-saver should be disabled. */
    81         extern const char* GUI_HostScreenSaverDisabled;
     81        extern const char *GUI_HostScreenSaverDisabled;
    8282    /** @} */
    8383
     
    8585      * @{ */
    8686        /** Holds GUI language ID. */
    87         extern const char* GUI_LanguageID;
     87        extern const char *GUI_LanguageID;
    8888    /** @} */
    8989
     
    9191      * @{ */
    9292        /** Holds maximum guest-screen resolution policy/value. */
    93         extern const char* GUI_MaxGuestResolution;
     93        extern const char *GUI_MaxGuestResolution;
    9494        /** Holds whether hovered machine-window should be activated. */
    95         extern const char* GUI_ActivateHoveredMachineWindow;
     95        extern const char *GUI_ActivateHoveredMachineWindow;
    9696    /** @} */
    9797
     
    9999      * @{ */
    100100        /** Holds Selector UI shortcut overrides. */
    101         extern const char* GUI_Input_SelectorShortcuts;
     101        extern const char *GUI_Input_SelectorShortcuts;
    102102        /** Holds Runtime UI shortcut overrides. */
    103         extern const char* GUI_Input_MachineShortcuts;
     103        extern const char *GUI_Input_MachineShortcuts;
    104104        /** Holds Runtime UI host-key combination. */
    105         extern const char* GUI_Input_HostKeyCombination;
     105        extern const char *GUI_Input_HostKeyCombination;
    106106        /** Holds whether Runtime UI auto-capture is enabled. */
    107         extern const char* GUI_Input_AutoCapture;
     107        extern const char *GUI_Input_AutoCapture;
    108108        /** Holds Runtime UI remapped scan codes. */
    109         extern const char* GUI_RemapScancodes;
     109        extern const char *GUI_RemapScancodes;
    110110    /** @} */
    111111
     
    113113      * @{ */
    114114        /** Holds VBox proxy settings. */
    115         extern const char* GUI_ProxySettings;
     115        extern const char *GUI_ProxySettings;
    116116    /** @} */
    117117
     
    119119      * @{ */
    120120        /** Holds recent folder for hard-drives. */
    121         extern const char* GUI_RecentFolderHD;
     121        extern const char *GUI_RecentFolderHD;
    122122        /** Holds recent folder for optical-disks. */
    123         extern const char* GUI_RecentFolderCD;
     123        extern const char *GUI_RecentFolderCD;
    124124        /** Holds recent folder for floppy-disks. */
    125         extern const char* GUI_RecentFolderFD;
     125        extern const char *GUI_RecentFolderFD;
    126126        /** Holds recent folder for VISO creation content. */
    127         extern const char* GUI_RecentFolderVISOContent;
     127        extern const char *GUI_RecentFolderVISOContent;
    128128        /** Holds the list of recently used hard-drives. */
    129         extern const char* GUI_RecentListHD;
     129        extern const char *GUI_RecentListHD;
    130130        /** Holds the list of recently used optical-disks. */
    131         extern const char* GUI_RecentListCD;
     131        extern const char *GUI_RecentListCD;
    132132        /** Holds the list of recently used floppy-disks. */
    133         extern const char* GUI_RecentListFD;
     133        extern const char *GUI_RecentListFD;
    134134    /** @} */
    135135
     
    137137      * @{ */
    138138        /** Holds selector-window geometry. */
    139         extern const char* GUI_LastSelectorWindowPosition;
     139        extern const char *GUI_LastSelectorWindowPosition;
    140140        /** Holds selector-window splitter hints. */
    141         extern const char* GUI_SplitterSizes;
     141        extern const char *GUI_SplitterSizes;
    142142        /** Holds whether selector-window tool-bar visible. */
    143         extern const char* GUI_Toolbar;
     143        extern const char *GUI_Toolbar;
    144144        /** Holds whether selector-window tool-bar text visible. */
    145         extern const char* GUI_Toolbar_Text;
     145        extern const char *GUI_Toolbar_Text;
    146146        /** Holds the selector-window machine tools order. */
    147         extern const char* GUI_Toolbar_MachineTools_Order;
     147        extern const char *GUI_Toolbar_MachineTools_Order;
    148148        /** Holds the selector-window global tools order. */
    149         extern const char* GUI_Toolbar_GlobalTools_Order;
     149        extern const char *GUI_Toolbar_GlobalTools_Order;
    150150        /** Holds whether selector-window status-bar visible. */
    151         extern const char* GUI_Statusbar;
     151        extern const char *GUI_Statusbar;
    152152        /** Prefix used by composite extra-data keys,
    153153          * which holds selector-window chooser-pane' groups definitions. */
    154         extern const char* GUI_GroupDefinitions;
     154        extern const char *GUI_GroupDefinitions;
    155155        /** Holds last item chosen in selector-window chooser-pane. */
    156         extern const char* GUI_LastItemSelected;
     156        extern const char *GUI_LastItemSelected;
    157157        /** Holds selector-window details-pane' elements. */
    158         extern const char* GUI_DetailsPageBoxes;
     158        extern const char *GUI_DetailsPageBoxes;
    159159        /** Holds selector-window details-pane' preview update interval. */
    160         extern const char* GUI_PreviewUpdate;
     160        extern const char *GUI_PreviewUpdate;
    161161    /** @} */
    162162
     
    164164      * @{ */
    165165        /** Holds whether Snapshot Manager details expanded. */
    166         extern const char* GUI_SnapshotManager_Details_Expanded;
     166        extern const char *GUI_SnapshotManager_Details_Expanded;
    167167    /** @} */
    168168
     
    170170      * @{ */
    171171        /** Holds whether Virtual Media Manager details expanded. */
    172         extern const char* GUI_VirtualMediaManager_Details_Expanded;
     172        extern const char *GUI_VirtualMediaManager_Details_Expanded;
    173173    /** @} */
    174174
     
    176176      * @{ */
    177177        /** Holds whether Host Network Manager details expanded. */
    178         extern const char* GUI_HostNetworkManager_Details_Expanded;
    179     /** @} */
     178        extern const char *GUI_HostNetworkManager_Details_Expanded;
     179    /** @} */
     180
     181#ifdef VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
     182    /** @name Extra-data Manager
     183      * @{ */
     184        /** Holds extra-data manager geometry. */
     185        extern const char *GUI_ExtraDataManager_Geometry;
     186        /** Holds extra-data manager splitter hints. */
     187        extern const char *GUI_ExtraDataManager_SplitterHints;
     188    /** @} */
     189#endif /* VBOX_GUI_WITH_EXTRADATA_MANAGER_UI */
    180190
    181191    /** @name Wizards
    182192      * @{ */
    183193        /** Holds wizard types for which descriptions should be hidden. */
    184         extern const char* GUI_HideDescriptionForWizards;
     194        extern const char *GUI_HideDescriptionForWizards;
    185195    /** @} */
    186196
     
    188198      * @{ */
    189199        /** Holds whether machine shouldn't be shown in selector-window chooser-pane. */
    190         extern const char* GUI_HideFromManager;
     200        extern const char *GUI_HideFromManager;
    191201        /** Holds whether machine shouldn't be shown in selector-window details-pane. */
    192         extern const char* GUI_HideDetails;
     202        extern const char *GUI_HideDetails;
    193203        /** Holds whether machine reconfiguration disabled. */
    194         extern const char* GUI_PreventReconfiguration;
     204        extern const char *GUI_PreventReconfiguration;
    195205        /** Holds whether machine snapshot operations disabled. */
    196         extern const char* GUI_PreventSnapshotOperations;
     206        extern const char *GUI_PreventSnapshotOperations;
    197207        /** Holds whether this machine is first time started. */
    198         extern const char* GUI_FirstRun;
     208        extern const char *GUI_FirstRun;
    199209        /** Except Mac OS X: Holds redefined machine-window icon names. */
    200         extern const char* GUI_MachineWindowIcons;
     210        extern const char *GUI_MachineWindowIcons;
    201211#ifndef VBOX_WS_MAC
    202212        /** Except Mac OS X: Holds redefined machine-window name postfix. */
    203         extern const char* GUI_MachineWindowNamePostfix;
    204 #endif /* !VBOX_WS_MAC */
     213        extern const char *GUI_MachineWindowNamePostfix;
     214#endif
    205215        /** Prefix used by composite extra-data keys,
    206216          * which holds normal machine-window geometry per screen-index. */
    207         extern const char* GUI_LastNormalWindowPosition;
     217        extern const char *GUI_LastNormalWindowPosition;
    208218        /** Prefix used by composite extra-data keys,
    209219          * which holds scaled machine-window geometry per screen-index. */
    210         extern const char* GUI_LastScaleWindowPosition;
     220        extern const char *GUI_LastScaleWindowPosition;
    211221        /** Holds machine-window geometry maximized state flag. */
    212         extern const char* GUI_Geometry_State_Max;
     222        extern const char *GUI_Geometry_State_Max;
    213223#ifndef VBOX_WS_MAC
    214224        /** Holds Runtime UI menu-bar availability status. */
    215         extern const char* GUI_MenuBar_Enabled;
    216 #endif /* !VBOX_WS_MAC */
     225        extern const char *GUI_MenuBar_Enabled;
     226#endif
    217227        /** Holds Runtime UI menu-bar context-menu availability status. */
    218         extern const char* GUI_MenuBar_ContextMenu_Enabled;
     228        extern const char *GUI_MenuBar_ContextMenu_Enabled;
    219229        /** Holds restricted Runtime UI menu types. */
    220         extern const char* GUI_RestrictedRuntimeMenus;
     230        extern const char *GUI_RestrictedRuntimeMenus;
    221231        /** Holds restricted Runtime UI action types for 'Application' menu. */
    222         extern const char* GUI_RestrictedRuntimeApplicationMenuActions;
     232        extern const char *GUI_RestrictedRuntimeApplicationMenuActions;
    223233        /** Holds restricted Runtime UI action types for Machine menu. */
    224         extern const char* GUI_RestrictedRuntimeMachineMenuActions;
     234        extern const char *GUI_RestrictedRuntimeMachineMenuActions;
    225235        /** Holds restricted Runtime UI action types for View menu. */
    226         extern const char* GUI_RestrictedRuntimeViewMenuActions;
     236        extern const char *GUI_RestrictedRuntimeViewMenuActions;
    227237        /** Holds restricted Runtime UI action types for Input menu. */
    228         extern const char* GUI_RestrictedRuntimeInputMenuActions;
     238        extern const char *GUI_RestrictedRuntimeInputMenuActions;
    229239        /** Holds restricted Runtime UI action types for Devices menu. */
    230         extern const char* GUI_RestrictedRuntimeDevicesMenuActions;
     240        extern const char *GUI_RestrictedRuntimeDevicesMenuActions;
    231241#ifdef VBOX_WITH_DEBUGGER_GUI
    232242        /** Holds restricted Runtime UI action types for Debugger menu. */
    233         extern const char* GUI_RestrictedRuntimeDebuggerMenuActions;
    234 #endif /* VBOX_WITH_DEBUGGER_GUI */
     243        extern const char *GUI_RestrictedRuntimeDebuggerMenuActions;
     244#endif
    235245#ifdef VBOX_WS_MAC
    236246        /** Mac OS X: Holds restricted Runtime UI action types for 'Window' menu. */
    237         extern const char* GUI_RestrictedRuntimeWindowMenuActions;
    238 #endif /* VBOX_WS_MAC */
     247        extern const char *GUI_RestrictedRuntimeWindowMenuActions;
     248#endif
    239249        /** Holds restricted Runtime UI action types for Help menu. */
    240         extern const char* GUI_RestrictedRuntimeHelpMenuActions;
     250        extern const char *GUI_RestrictedRuntimeHelpMenuActions;
    241251        /** Holds restricted Runtime UI visual-states. */
    242         extern const char* GUI_RestrictedVisualStates;
     252        extern const char *GUI_RestrictedVisualStates;
    243253        /** Holds whether full screen visual-state is requested. */
    244         extern const char* GUI_Fullscreen;
     254        extern const char *GUI_Fullscreen;
    245255        /** Holds whether seamless visual-state is requested. */
    246         extern const char* GUI_Seamless;
     256        extern const char *GUI_Seamless;
    247257        /** Holds whether scaled visual-state is requested. */
    248         extern const char* GUI_Scale;
     258        extern const char *GUI_Scale;
    249259#ifdef VBOX_WS_X11
    250260        /** Holds whether legacy full-screen mode is requested. */
    251         extern const char* GUI_Fullscreen_LegacyMode;
     261        extern const char *GUI_Fullscreen_LegacyMode;
    252262        /** Holds whether internal machine-window names should be unique. */
    253         extern const char* GUI_DistinguishMachineWindowGroups;
     263        extern const char *GUI_DistinguishMachineWindowGroups;
    254264#endif /* VBOX_WS_X11 */
    255265        /** Holds whether guest-screen auto-resize according machine-window size is enabled. */
    256         extern const char* GUI_AutoresizeGuest;
     266        extern const char *GUI_AutoresizeGuest;
    257267        /** Prefix used by composite extra-data keys,
    258268          * which holds last guest-screen visibility status per screen-index. */
    259         extern const char* GUI_LastVisibilityStatusForGuestScreen;
     269        extern const char *GUI_LastVisibilityStatusForGuestScreen;
    260270        /** Prefix used by composite extra-data keys,
    261271          * which holds last guest-screen size-hint per screen-index. */
    262         extern const char* GUI_LastGuestSizeHint;
     272        extern const char *GUI_LastGuestSizeHint;
    263273        /** Prefix used by composite extra-data keys,
    264274          * which holds host-screen index per guest-screen index. */
    265         extern const char* GUI_VirtualScreenToHostScreen;
     275        extern const char *GUI_VirtualScreenToHostScreen;
    266276        /** Holds whether automatic mounting/unmounting of guest-screens enabled. */
    267         extern const char* GUI_AutomountGuestScreens;
     277        extern const char *GUI_AutomountGuestScreens;
    268278#ifdef VBOX_WITH_VIDEOHWACCEL
    269279        /** Holds whether 2D acceleration should use linear sretch. */
    270         extern const char* GUI_Accelerate2D_StretchLinear;
     280        extern const char *GUI_Accelerate2D_StretchLinear;
    271281        /** Holds whether 2D acceleration should use YV12 pixel format. */
    272         extern const char* GUI_Accelerate2D_PixformatYV12;
     282        extern const char *GUI_Accelerate2D_PixformatYV12;
    273283        /** Holds whether 2D acceleration should use UYVY pixel format. */
    274         extern const char* GUI_Accelerate2D_PixformatUYVY;
     284        extern const char *GUI_Accelerate2D_PixformatUYVY;
    275285        /** Holds whether 2D acceleration should use YUY2 pixel format. */
    276         extern const char* GUI_Accelerate2D_PixformatYUY2;
     286        extern const char *GUI_Accelerate2D_PixformatYUY2;
    277287        /** Holds whether 2D acceleration should use AYUV pixel format. */
    278         extern const char* GUI_Accelerate2D_PixformatAYUV;
     288        extern const char *GUI_Accelerate2D_PixformatAYUV;
    279289#endif /* VBOX_WITH_VIDEOHWACCEL */
    280290#ifndef VBOX_WS_MAC
    281291        /** Holds whether mini-toolbar is enabled for full and seamless screens. */
    282         extern const char* GUI_ShowMiniToolBar;
     292        extern const char *GUI_ShowMiniToolBar;
    283293        /** Holds whether mini-toolbar should auto-hide itself. */
    284         extern const char* GUI_MiniToolBarAutoHide;
     294        extern const char *GUI_MiniToolBarAutoHide;
    285295        /** Holds mini-toolbar alignment. */
    286         extern const char* GUI_MiniToolBarAlignment;
     296        extern const char *GUI_MiniToolBarAlignment;
    287297#endif /* !VBOX_WS_MAC */
    288298        /** Holds Runtime UI status-bar availability status. */
    289         extern const char* GUI_StatusBar_Enabled;
     299        extern const char *GUI_StatusBar_Enabled;
    290300        /** Holds Runtime UI status-bar context-menu availability status. */
    291         extern const char* GUI_StatusBar_ContextMenu_Enabled;
     301        extern const char *GUI_StatusBar_ContextMenu_Enabled;
    292302        /** Holds restricted Runtime UI status-bar indicators. */
    293         extern const char* GUI_RestrictedStatusBarIndicators;
     303        extern const char *GUI_RestrictedStatusBarIndicators;
    294304        /** Holds Runtime UI status-bar indicator order. */
    295         extern const char* GUI_StatusBar_IndicatorOrder;
     305        extern const char *GUI_StatusBar_IndicatorOrder;
    296306#ifdef VBOX_WS_MAC
    297307        /** Mac OS X: Holds whether Dock icon should be updated at runtime. */
    298         extern const char* GUI_RealtimeDockIconUpdateEnabled;
     308        extern const char *GUI_RealtimeDockIconUpdateEnabled;
    299309        /** Mac OS X: Holds guest-screen which Dock icon should reflect at runtime. */
    300         extern const char* GUI_RealtimeDockIconUpdateMonitor;
     310        extern const char *GUI_RealtimeDockIconUpdateMonitor;
    301311        /** Mac OS X: Holds whether Dock icon should have overlay disabled. */
    302         extern const char* GUI_DockIconDisableOverlay;
     312        extern const char *GUI_DockIconDisableOverlay;
    303313#endif /* VBOX_WS_MAC */
    304314        /** Holds whether machine should pass CAD to guest. */
    305         extern const char* GUI_PassCAD;
     315        extern const char *GUI_PassCAD;
    306316        /** Holds the mouse capture policy. */
    307         extern const char* GUI_MouseCapturePolicy;
     317        extern const char *GUI_MouseCapturePolicy;
    308318        /** Holds redefined guru-meditation handler type. */
    309         extern const char* GUI_GuruMeditationHandler;
     319        extern const char *GUI_GuruMeditationHandler;
    310320        /** Holds whether machine should perform HID LEDs synchronization. */
    311         extern const char* GUI_HidLedsSync;
     321        extern const char *GUI_HidLedsSync;
    312322        /** Holds the scale-factor. */
    313         extern const char* GUI_ScaleFactor;
     323        extern const char *GUI_ScaleFactor;
    314324        /** Holds the scaling optimization type. */
    315         extern const char* GUI_Scaling_Optimization;
     325        extern const char *GUI_Scaling_Optimization;
    316326    /** @} */
    317327
     
    319329      * @{ */
    320330        /** Holds information-window geometry. */
    321         extern const char* GUI_InformationWindowGeometry;
     331        extern const char *GUI_InformationWindowGeometry;
    322332        /** Holds information-window elements. */
    323         extern const char* GUI_InformationWindowElements;
     333        extern const char *GUI_InformationWindowElements;
    324334    /** @} */
    325335
     
    327337      * @{ */
    328338        /** Holds default machine close action. */
    329         extern const char* GUI_DefaultCloseAction;
     339        extern const char *GUI_DefaultCloseAction;
    330340        /** Holds restricted machine close actions. */
    331         extern const char* GUI_RestrictedCloseActions;
     341        extern const char *GUI_RestrictedCloseActions;
    332342        /** Holds last machine close action. */
    333         extern const char* GUI_LastCloseAction;
     343        extern const char *GUI_LastCloseAction;
    334344        /** Holds machine close hook script name as simple string. */
    335         extern const char* GUI_CloseActionHook;
     345        extern const char *GUI_CloseActionHook;
    336346    /** @} */
    337347
     
    340350      * @{ */
    341351        /** Holds whether debugger UI enabled. */
    342         extern const char* GUI_Dbg_Enabled;
     352        extern const char *GUI_Dbg_Enabled;
    343353        /** Holds whether debugger UI should be auto-shown. */
    344         extern const char* GUI_Dbg_AutoShow;
     354        extern const char *GUI_Dbg_AutoShow;
    345355    /** @} */
    346356#endif /* VBOX_WITH_DEBUGGER_GUI */
    347357
    348 #ifdef VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
    349     /** @name VirtualBox: Extra-data Manager window
    350       * @{ */
    351         /** Holds extra-data manager geometry. */
    352         extern const char* GUI_ExtraDataManager_Geometry;
    353         /** Holds extra-data manager splitter hints. */
    354         extern const char* GUI_ExtraDataManager_SplitterHints;
    355     /** @} */
    356 #endif /* VBOX_GUI_WITH_EXTRADATA_MANAGER_UI */
    357 
    358     /** @name Virtual Machine: Log dialog
    359       * @{ */
    360         /** Holds log-window geometry. */
    361         extern const char* GUI_LogWindowGeometry;
     358    /** @name Virtual Machine: Log-viewer
     359      * @{ */
     360        /** Holds log-viewer geometry. */
     361        extern const char *GUI_LogWindowGeometry;
    362362    /** @} */
    363363}
     364
    364365
    365366/** Extra-data meta definitions. */
     
    376377#ifdef VBOX_WITH_DEBUGGER_GUI
    377378    Q_ENUMS(RuntimeMenuDebuggerActionType);
    378 #endif /* VBOX_WITH_DEBUGGER_GUI */
    379 #ifdef RT_OS_DARWIN
     379#endif
     380#ifdef VBOX_WS_MAC
    380381    Q_ENUMS(MenuWindowActionType);
    381 #endif /* RT_OS_DARWIN */
     382#endif
    382383
    383384public:
     
    394395#ifdef VBOX_WITH_DEBUGGER_GUI
    395396        MenuType_Debug       = RT_BIT(5),
    396 #endif /* VBOX_WITH_DEBUGGER_GUI */
    397 #ifdef RT_OS_DARWIN
     397#endif
     398#ifdef VBOX_WS_MAC
    398399        MenuType_Window      = RT_BIT(6),
    399 #endif /* RT_OS_DARWIN */
     400#endif
    400401        MenuType_Help        = RT_BIT(7),
    401402        MenuType_All         = 0xFF
     
    406407    {
    407408        MenuApplicationActionType_Invalid              = 0,
    408 #ifdef RT_OS_DARWIN
     409#ifdef VBOX_WS_MAC
    409410        MenuApplicationActionType_About                = RT_BIT(0),
    410 #endif /* RT_OS_DARWIN */
     411#endif
    411412        MenuApplicationActionType_Preferences          = RT_BIT(1),
    412413#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
    413414        MenuApplicationActionType_NetworkAccessManager = RT_BIT(2),
    414415        MenuApplicationActionType_CheckForUpdates      = RT_BIT(3),
    415 #endif /* VBOX_GUI_WITH_NETWORK_MANAGER */
     416#endif
    416417        MenuApplicationActionType_ResetWarnings        = RT_BIT(4),
    417418        MenuApplicationActionType_Close                = RT_BIT(5),
     
    428429        MenuHelpActionType_Forums               = RT_BIT(3),
    429430        MenuHelpActionType_Oracle               = RT_BIT(4),
    430 #ifndef RT_OS_DARWIN
     431#ifndef VBOX_WS_MAC
    431432        MenuHelpActionType_About                = RT_BIT(5),
    432 #endif /* !RT_OS_DARWIN */
     433#endif
    433434        MenuHelpActionType_All                  = 0xFFFF
    434435    };
     
    458459        RuntimeMenuViewActionType_Seamless             = RT_BIT(1),
    459460        RuntimeMenuViewActionType_Scale                = RT_BIT(2),
    460 #ifndef RT_OS_DARWIN
     461#ifndef VBOX_WS_MAC
    461462        RuntimeMenuViewActionType_MinimizeWindow       = RT_BIT(3),
    462 #endif /* !RT_OS_DARWIN */
     463#endif
    463464        RuntimeMenuViewActionType_AdjustWindow         = RT_BIT(4),
    464465        RuntimeMenuViewActionType_GuestAutoresize      = RT_BIT(5),
     
    470471        RuntimeMenuViewActionType_MenuBar              = RT_BIT(11),
    471472        RuntimeMenuViewActionType_MenuBarSettings      = RT_BIT(12),
    472 #ifndef RT_OS_DARWIN
     473#ifndef VBOX_WS_MAC
    473474        RuntimeMenuViewActionType_ToggleMenuBar        = RT_BIT(13),
    474 #endif /* !RT_OS_DARWIN */
     475#endif
    475476        RuntimeMenuViewActionType_StatusBar            = RT_BIT(14),
    476477        RuntimeMenuViewActionType_StatusBarSettings    = RT_BIT(15),
     
    491492#ifdef VBOX_WS_X11
    492493        RuntimeMenuInputActionType_TypeCABS           = RT_BIT(3),
    493 #endif /* VBOX_WS_X11 */
     494#endif
    494495        RuntimeMenuInputActionType_TypeCtrlBreak      = RT_BIT(4),
    495496        RuntimeMenuInputActionType_TypeInsert         = RT_BIT(5),
     
    539540#endif /* VBOX_WITH_DEBUGGER_GUI */
    540541
    541 #ifdef RT_OS_DARWIN
     542#ifdef VBOX_WS_MAC
    542543    /** Menu "Window": Action types. */
    543544    enum MenuWindowActionType
     
    548549        MenuWindowActionType_All      = 0xFFFF
    549550    };
    550 #endif /* RT_OS_DARWIN */
    551 };
     551#endif /* VBOX_WS_MAC */
     552};
     553
    552554
    553555/** Common UI: Event handling types. */
     
    557559    EventHandlingType_Passive
    558560};
     561
    559562
    560563/** Common UI: GUI feature types. */
     
    568571};
    569572
     573
    570574/** Common UI: Global settings page types. */
    571575enum GlobalSettingsPageType
     
    576580#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
    577581    GlobalSettingsPageType_Update,
    578 #endif /* VBOX_GUI_WITH_NETWORK_MANAGER */
     582#endif
    579583    GlobalSettingsPageType_Language,
    580584    GlobalSettingsPageType_Display,
     
    583587#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
    584588    GlobalSettingsPageType_Proxy,
    585 #endif /* VBOX_GUI_WITH_NETWORK_MANAGER */
     589#endif
    586590    GlobalSettingsPageType_Max
    587591};
    588592Q_DECLARE_METATYPE(GlobalSettingsPageType);
     593
    589594
    590595/** Common UI: Machine settings page types. */
     
    607612Q_DECLARE_METATYPE(MachineSettingsPageType);
    608613
     614
    609615/** Common UI: Wizard types. */
    610616enum WizardType
     
    620626};
    621627
     628
    622629/** Common UI: Wizard modes. */
    623630enum WizardMode
     
    640647Q_DECLARE_METATYPE(ToolTypeMachine);
    641648
     649
    642650/** Selector UI: Global tool types. */
    643651enum ToolTypeGlobal
     
    649657};
    650658Q_DECLARE_METATYPE(ToolTypeGlobal);
     659
    651660
    652661/** Selector UI: Details-element types. */
     
    669678Q_DECLARE_METATYPE(DetailsElementType);
    670679
     680
    671681/** Selector UI: Preview update interval types. */
    672682enum PreviewUpdateIntervalType
     
    693703};
    694704Q_DECLARE_METATYPE(UIVisualStateType);
     705
    695706
    696707/** Runtime UI: Indicator types. */
     
    715726Q_DECLARE_METATYPE(IndicatorType);
    716727
     728
    717729/** Runtime UI: Machine close actions. */
    718730enum MachineCloseAction
     
    728740Q_DECLARE_METATYPE(MachineCloseAction);
    729741
     742
    730743/** Runtime UI: Mouse capture policy types. */
    731744enum MouseCapturePolicy
     
    736749};
    737750
    738 /** Guru Meditation handler types. */
     751
     752/** Runtime UI: Guru Meditation handler types. */
    739753enum GuruMeditationHandlerType
    740754{
     
    744758};
    745759
     760
    746761/** Runtime UI: Scaling optimization types. */
    747762enum ScalingOptimizationType
     
    750765    ScalingOptimizationType_Performance
    751766};
     767
    752768
    753769#ifndef VBOX_WS_MAC
     
    759775};
    760776#endif /* !VBOX_WS_MAC */
     777
    761778
    762779/** Runtime UI: Information-element types. */
     
    782799Q_DECLARE_METATYPE(InformationElementType);
    783800
     801
    784802/** Runtime UI: Maximum guest-screen resolution policy types.
    785803  * @note This policy determines which guest-screen resolutions we wish to
     
    795813};
    796814
     815
    797816#endif /* !___UIExtraDataDefs_h___ */
    798817
  • trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp

    r71355 r71437  
    55
    66/*
    7  * Copyright (C) 2010-2017 Oracle Corporation
     7 * Copyright (C) 2010-2018 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    4040
    4141/* GUI includes: */
     42# include "VBoxGlobal.h"
     43# include "UIActionPool.h"
     44# include "UIConverter.h"
    4245# include "UIDesktopWidgetWatchdog.h"
    4346# include "UIExtraDataManager.h"
    4447# include "UIHostComboEditor.h"
    4548# include "UIMainEventListener.h"
    46 # include "VBoxGlobal.h"
    47 # include "UIActionPool.h"
    48 # include "UIConverter.h"
     49# include "UIMessageCenter.h"
    4950# include "UISettingsDefs.h"
    50 # include "UIMessageCenter.h"
    5151# ifdef VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
     52#  include "QIDialog.h"
     53#  include "QIDialogButtonBox.h"
     54#  include "QIFileDialog.h"
     55#  include "QIMainWindow.h"
     56#  include "QISplitter.h"
     57#  include "QIWidgetValidator.h"
    5258#  include "VBoxUtils.h"
    53 #  include "UIVirtualBoxEventHandler.h"
    5459#  include "UIIconPool.h"
    5560#  include "UIToolBar.h"
    56 #  include "QIMainWindow.h"
    57 #  include "QIWidgetValidator.h"
    58 #  include "QIDialogButtonBox.h"
    59 #  include "QIFileDialog.h"
    60 #  include "QISplitter.h"
    61 #  include "QIDialog.h"
     61#  include "UIVirtualBoxEventHandler.h"
    6262# endif /* VBOX_GUI_WITH_EXTRADATA_MANAGER_UI */
    6363
     
    6666# include "CEventListener.h"
    6767# include "CEventSource.h"
     68# include "CMachine.h"
    6869# include "CVirtualBox.h"
    69 # include "CMachine.h"
    7070
    7171#endif /* !VBOX_WITH_PRECOMPILED_HEADERS */
     
    138138};
    139139
     140
     141/*********************************************************************************************************************************
     142*   Class UIExtraDataEventHandler implementation.                                                                                *
     143*********************************************************************************************************************************/
     144
    140145UIExtraDataEventHandler::UIExtraDataEventHandler(QObject *pParent)
    141146    : QObject(pParent)
     
    274279
    275280#ifdef VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
     281
    276282/** Data fields. */
    277283enum Field
     
    311317    int m_iSpacing;
    312318};
     319
     320
     321/*********************************************************************************************************************************
     322*   Class UIChooserPaneDelegate implementation.                                                                                  *
     323*********************************************************************************************************************************/
    313324
    314325UIChooserPaneDelegate::UIChooserPaneDelegate(QObject *pParent)
     
    702713    /** @} */
    703714};
     715
     716
     717/*********************************************************************************************************************************
     718*   Class UIExtraDataManagerWindow implementation.                                                                               *
     719*********************************************************************************************************************************/
    704720
    705721UIExtraDataManagerWindow::UIExtraDataManagerWindow()
     
    20192035           << GUI_LogWindowGeometry;
    20202036}
     2037
    20212038#endif /* VBOX_GUI_WITH_EXTRADATA_MANAGER_UI */
    20222039
     2040
     2041/*********************************************************************************************************************************
     2042*   Class UIExtraDataManager implementation.                                                                                     *
     2043*********************************************************************************************************************************/
    20232044
    20242045/* static */
  • trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.h

    r71104 r71437  
    55
    66/*
    7  * Copyright (C) 2010-2017 Oracle Corporation
     7 * Copyright (C) 2010-2018 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    2020
    2121/* Qt includes: */
     22#include <QMap>
    2223#include <QObject>
    23 #include <QMap>
     24#include <QSize>
    2425#ifdef VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
    2526# include <QPointer>
    26 #endif /* VBOX_GUI_WITH_EXTRADATA_MANAGER_UI */
    27 #include <QSize>
     27#endif
    2828
    2929/* GUI includes: */
     
    3434#ifdef VBOX_GUI_WITH_EXTRADATA_MANAGER_UI
    3535class UIExtraDataManagerWindow;
    36 #endif /* VBOX_GUI_WITH_EXTRADATA_MANAGER_UI */
     36#endif
    3737
    3838/** Defines the map of extra data values. The index is an extra-data key. */
     
    8888    /** Notifies about the HiDPI optimization type change. */
    8989    void sigHiDPIOptimizationTypeChange(const QString &strMachineID);
    90 #endif
    91 
    92 #ifdef RT_OS_DARWIN
     90
    9391    /** Mac OS X: Notifies about 'dock icon' appearance change. */
    9492    void sigDockIconAppearanceChange(bool fEnabled);
    9593    /** Mac OS X: Notifies about 'dock icon overlay' appearance change. */
    9694    void sigDockIconOverlayAppearanceChange(bool fEnabled);
    97 #endif /* RT_OS_DARWIN */
     95#endif /* VBOX_WS_MAC */
    9896
    9997public:
     
    110108    /** Static show and raise API. */
    111109    static void openWindow(QWidget *pCenterWidget);
    112 #endif /* VBOX_GUI_WITH_EXTRADATA_MANAGER_UI */
     110#endif
    113111
    114112    /** @name Base
     
    156154        /** Returns version for which user wants to prevent BETA build warning. */
    157155        QString preventBetaBuildWarningForVersion();
    158 #endif /* !defined(VBOX_BLEEDING_EDGE) && !defined(DEBUG) */
     156#endif
    159157    /** @} */
    160158
     
    403401        /** Except Mac OS X: Returns redefined machine-window name postfix. */
    404402        QString machineWindowNamePostfix(const QString &strID);
    405 #endif /* !VBOX_WS_MAC */
     403#endif
    406404
    407405        /** Returns geometry for machine-window with @a uScreenIndex in @a visualStateType. */
     
    698696    /** Open window. */
    699697    void open(QWidget *pCenterWidget);
    700 #endif /* VBOX_GUI_WITH_EXTRADATA_MANAGER_UI */
     698#endif
    701699
    702700    /** Retrieves an extra-data key from both machine and global sources.
     
    742740    /** Holds Extra-data Manager window instance. */
    743741    QPointer<UIExtraDataManagerWindow> m_pWindow;
    744 #endif /* VBOX_GUI_WITH_EXTRADATA_MANAGER_UI */
     742#endif
    745743};
    746744
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