- Timestamp:
- Nov 29, 2023 2:51:33 PM (14 months ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r102116 r102381 4962 4962 <interface 4963 4963 name="IUnattended" extends="$unknown" 4964 uuid=" d1833215-78c9-4b42-9c2a-f44ef7b2d01f"4964 uuid="1136224d-0ba7-45d6-9aee-03b628da46b6" 4965 4965 wsmap="managed" 4966 4966 rest="managed" … … 5109 5109 time zone formats. 5110 5110 TODO: Take default from host (this requires mapping). 5111 </desc> 5112 </attribute> 5113 5114 <attribute name="keyboardLayout" type="wstring"> 5115 <desc> 5116 Sets the keyboard layout of the guest, if available. 5117 5118 The 2 letter locale identifier, no codesets or such. 5119 5120 The format is two lower case country letter (ISO 3166-1 alpha-2). 5121 For instance 'us', 'de', or 'no'. 5122 5123 The default is taken from the host if possible, with 'us' as fallback. 5124 5125 <result name="E_NOTIMPL"> 5126 Not implemented yet. 5127 </result> 5128 </desc> 5129 </attribute> 5130 5131 <attribute name="keyboardVariant" type="wstring"> 5132 <desc> 5133 Sets the keyboard variant of the guest, if available. Leave empty to use 5134 the default variant for the current keyboard layout set. 5135 5136 TODO: Define + document a keyboard variants table (e.g. by using 'localectl list-x11-keymap-variants [layout]' as a base), 5137 plus a mapping to Windows-based guests for that. 5138 5139 This depends on the current keyboard layout being set. 5140 5141 <result name="E_NOTIMPL"> 5142 Not implemented yet. 5143 </result> 5111 5144 </desc> 5112 5145 </attribute> -
trunk/src/VBox/Main/include/UnattendedImpl.h
r102171 r102381 218 218 HRESULT getTimeZone(com::Utf8Str &aTimezone); 219 219 HRESULT setTimeZone(const com::Utf8Str &aTimezone); 220 HRESULT getKeyboardLayout(com::Utf8Str &aKeyboardLayout); 221 HRESULT setKeyboardLayout(const com::Utf8Str &aKeyboardLayout); 222 HRESULT getKeyboardVariant(com::Utf8Str &aKeyboardVariant); 223 HRESULT setKeyboardVariant(const com::Utf8Str &aKeyboardVariant); 220 224 HRESULT getLocale(com::Utf8Str &aLocale); 221 225 HRESULT setLocale(const com::Utf8Str &aLocale); -
trunk/src/VBox/Main/src-server/UnattendedImpl.cpp
r102347 r102381 3576 3576 } 3577 3577 3578 HRESULT Unattended::getKeyboardLayout(com::Utf8Str &aKeyboardLayout) 3579 { 3580 RT_NOREF(aKeyboardLayout); 3581 return E_NOTIMPL; 3582 } 3583 3584 HRESULT Unattended::setKeyboardLayout(const com::Utf8Str &aKeyboardLayout) 3585 { 3586 RT_NOREF(aKeyboardLayout); 3587 return E_NOTIMPL; 3588 } 3589 3590 HRESULT Unattended::getKeyboardVariant(com::Utf8Str &aKeyboardVariant) 3591 { 3592 RT_NOREF(aKeyboardVariant); 3593 return E_NOTIMPL; 3594 } 3595 3596 HRESULT Unattended::setKeyboardVariant(const com::Utf8Str &aKeyboardVariant) 3597 { 3598 RT_NOREF(aKeyboardVariant); 3599 return E_NOTIMPL; 3600 } 3601 3578 3602 HRESULT Unattended::getLocale(com::Utf8Str &aLocale) 3579 3603 { -
trunk/src/VBox/Main/testcase/tstUnattendedScript.cpp
r102360 r102381 288 288 } 289 289 290 HRESULT Unattended::getKeyboardLayout(com::Utf8Str &aKeyboardLayout) 291 { 292 RT_NOREF(aKeyboardLayout); 293 return E_NOTIMPL; 294 } 295 296 HRESULT Unattended::setKeyboardLayout(const com::Utf8Str &aKeyboardLayout) 297 { 298 RT_NOREF(aKeyboardLayout); 299 return E_NOTIMPL; 300 } 301 302 HRESULT Unattended::getKeyboardVariant(com::Utf8Str &aKeyboardVariant) 303 { 304 RT_NOREF(aKeyboardVariant); 305 return E_NOTIMPL; 306 } 307 308 HRESULT Unattended::setKeyboardVariant(const com::Utf8Str &aKeyboardVariant) 309 { 310 RT_NOREF(aKeyboardVariant); 311 return E_NOTIMPL; 312 } 313 290 314 HRESULT Unattended::getLocale(com::Utf8Str &aLocale) 291 315 {
Note:
See TracChangeset
for help on using the changeset viewer.