Changeset 5992 in vbox
- Timestamp:
- Dec 6, 2007 3:05:48 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleVRDPServer.cpp
r5991 r5992 594 594 ConsoleVRDPServer::VRDPCallbackVideoModeHint 595 595 }; 596 #endif /* VBOX_VRDP */597 596 598 597 DECLCALLBACK(int) ConsoleVRDPServer::VRDPCallbackQueryProperty (void *pvCallback, uint32_t index, void *pvBuffer, uint32_t cbBuffer, uint32_t *pcbOut) … … 847 846 } 848 847 849 #ifdef VBOX_VRDP850 848 static void fixKbdLockStatus (VRDPInputSynch *pInputSynch, IKeyboard *pKeyboard) 851 849 { … … 865 863 } 866 864 } 867 #endif /* VBOX_VRDP */868 865 869 866 DECLCALLBACK(void) ConsoleVRDPServer::VRDPCallbackInput (void *pvCallback, int type, const void *pvInput, unsigned cbInput) 870 867 { 871 #ifdef VBOX_VRDP872 868 ConsoleVRDPServer *server = static_cast <ConsoleVRDPServer *> (pvCallback); 873 869 Console *pConsole = server->mConsole; … … 995 991 break; 996 992 } 997 #else 998 NOREF(pvCallback); 999 NOREF(type); 1000 NOREF(pvInput); 1001 NOREF(cbInput); 993 } 994 995 DECLCALLBACK(void) ConsoleVRDPServer::VRDPCallbackVideoModeHint (void *pvCallback, unsigned cWidth, unsigned cHeight, unsigned cBitsPerPixel, unsigned uScreenId) 996 { 997 ConsoleVRDPServer *server = static_cast <ConsoleVRDPServer *> (pvCallback); 998 999 server->mConsole->getDisplay ()->SetVideoModeHint(cWidth, cHeight, cBitsPerPixel, uScreenId); 1000 } 1002 1001 #endif /* VBOX_VRDP */ 1003 }1004 1005 DECLCALLBACK(void) ConsoleVRDPServer::VRDPCallbackVideoModeHint (void *pvCallback, unsigned cWidth, unsigned cHeight, unsigned cBitsPerPixel, unsigned uScreenId)1006 {1007 ConsoleVRDPServer *server = static_cast <ConsoleVRDPServer *> (pvCallback);1008 1009 server->mConsole->getDisplay ()->SetVideoModeHint(cWidth, cHeight, cBitsPerPixel, uScreenId);1010 }1011 1002 1012 1003 ConsoleVRDPServer::ConsoleVRDPServer (Console *console) … … 1068 1059 } 1069 1060 1061 #ifdef VBOX_VRDP 1070 1062 unsigned i; 1071 1063 for (i = 0; i < ELEMENTS(maFramebuffers); i++) … … 1077 1069 } 1078 1070 } 1071 #endif /* VBOX_VRDP */ 1079 1072 1080 1073 if (RTCritSectIsInitialized (&mCritSect))
Note:
See TracChangeset
for help on using the changeset viewer.