Changeset 52926 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Oct 2, 2014 8:41:00 AM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 96361
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/ConsoleImpl.h
r52319 r52926 1001 1001 ComObjPtr<Progress> mptrCancelableProgress; 1002 1002 1003 /* The purpose of caching of some events is probably in order to1004 automatically fire them at new event listeners. However, there is no1005 (longer?) any code making use of this... */1006 #ifdef CONSOLE_WITH_EVENT_CACHE1007 struct1008 {1009 /** OnMousePointerShapeChange() cache */1010 struct1011 {1012 bool valid;1013 bool visible;1014 bool alpha;1015 uint32_t xHot;1016 uint32_t yHot;1017 uint32_t width;1018 uint32_t height;1019 com::SafeArray<BYTE> shape;1020 } mpsc;1021 1022 /** OnMouseCapabilityChange() cache */1023 struct1024 {1025 bool valid;1026 BOOL supportsAbsolute;1027 BOOL supportsRelative;1028 BOOL needsHostCursor;1029 } mcc;1030 1031 /** OnKeyboardLedsChange() cache */1032 struct1033 {1034 bool valid;1035 bool numLock;1036 bool capsLock;1037 bool scrollLock;1038 } klc;1039 1040 void clear()1041 {1042 RT_ZERO(mcc);1043 RT_ZERO(klc);1044 1045 /* We cannot RT_ZERO mpsc because of shape's vtable. */1046 mpsc.shape.setNull();1047 mpsc.valid = mpsc.visible = mpsc.alpha = false;1048 mpsc.xHot = mpsc.yHot = mpsc.width = mpsc.height = 0;1049 }1050 } mCallbackData;1051 #endif1052 1003 ComPtr<IEventListener> mVmListener; 1053 1004
Note:
See TracChangeset
for help on using the changeset viewer.