Changeset 46649 in vbox for trunk/src/VBox/Frontends/VBoxHeadless
- Timestamp:
- Jun 19, 2013 11:47:32 AM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 86538
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/VBox-4.1 merged: 82579,85941 /branches/VBox-4.2 merged: 86229-86230,86234,86529 /branches/andy/guestctrl20 (added) merged: 78916,78930
- Property svn:mergeinfo changed
-
trunk/src/VBox
- Property svn:mergeinfo changed
/branches/VBox-4.1/src/VBox merged: 85941 /branches/VBox-4.2/src/VBox merged: 86529
- Property svn:mergeinfo changed
-
trunk/src/VBox/Frontends
- Property svn:mergeinfo changed
/branches/VBox-4.1/src/VBox/Frontends merged: 85941 /branches/VBox-4.2/src/VBox/Frontends (added) merged: 86529
- Property svn:mergeinfo changed
-
trunk/src/VBox/Frontends/VBoxHeadless
- Property svn:mergeinfo changed
/branches/VBox-4.1/src/VBox/Frontends/VBoxHeadless merged: 85941 /branches/VBox-4.2/src/VBox/Frontends/VBoxHeadless (added) merged: 86529
- Property svn:mergeinfo changed
-
trunk/src/VBox/Frontends/VBoxHeadless/VBoxHeadless.cpp
r45373 r46649 22 22 #include <VBox/com/ErrorInfo.h> 23 23 #include <VBox/com/errorprint.h> 24 #include <VBox/com/ EventQueue.h>24 #include <VBox/com/NativeEventQueue.h> 25 25 26 26 #include <VBox/com/VirtualBox.h> … … 74 74 /* global weak references (for event handlers) */ 75 75 static IConsole *gConsole = NULL; 76 static EventQueue *gEventQ = NULL;76 static NativeEventQueue *gEventQ = NULL; 77 77 78 78 /* flag whether frontend should terminate */ … … 194 194 AssertComRC(hrc); 195 195 196 Bstr strValue; 197 hrc = pChangedEvent->COMGETTER(Value)(strValue.asOutParam()); 198 AssertComRC(hrc); 199 196 200 Utf8Str utf8Key = strKey; 197 LogRelFlow(("Guest property \"%s\" has been changed\n", utf8Key.c_str())); 201 Utf8Str utf8Value = strValue; 202 LogRelFlow(("Guest property \"%s\" has been changed to \"%s\"\n", 203 utf8Key.c_str(), utf8Value.c_str())); 198 204 199 205 if (utf8Key.equals("/VirtualBox/GuestInfo/OS/NoLoggedInUsers")) 200 206 { 201 Bstr strValue;202 pChangedEvent->COMGETTER(Value)(strValue.asOutParam());203 Utf8Str utf8Value = strValue;204 205 207 LogRelFlow(("Guest indicates that there %s logged in users\n", 206 208 utf8Value.equals("true") ? "are no" : "are")); … … 1103 1105 /* initialize global references */ 1104 1106 gConsole = console; 1105 gEventQ = com:: EventQueue::getMainEventQueue();1107 gEventQ = com::NativeEventQueue::getMainEventQueue(); 1106 1108 1107 1109 /* VirtualBoxClient events registration. */
Note:
See TracChangeset
for help on using the changeset viewer.