Changeset 31371 in vbox for trunk/src/VBox
- Timestamp:
- Aug 4, 2010 7:00:40 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 64428
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/glue/EventQueue.cpp
r28800 r31371 168 168 * XPCOM initialization or we'll end up using the wrong main queue. 169 169 */ 170 /* static */ int171 EventQueue::init()170 /* static */ 171 int EventQueue::init() 172 172 { 173 173 Assert(mMainQueue == NULL); … … 196 196 * @returns VINF_SUCCESS 197 197 */ 198 /* static */ int199 EventQueue::uninit()198 /* static */ 199 int EventQueue::uninit() 200 200 { 201 201 Assert(mMainQueue); … … 210 210 * Depends on init() being called first. 211 211 */ 212 /* static */ EventQueue *213 EventQueue ::getMainEventQueue()212 /* static */ 213 EventQueue* EventQueue::getMainEventQueue() 214 214 { 215 215 return mMainQueue; … … 259 259 * @param cMsTimeout How long to wait, or RT_INDEFINITE_WAIT. 260 260 */ 261 static int262 waitForEventsOnUnix(nsIEventQueue *pQueue, unsigned cMsTimeout)261 static 262 int waitForEventsOnUnix(nsIEventQueue *pQueue, unsigned cMsTimeout) 263 263 { 264 264 int fd = pQueue->GetEventQueueSelectFD(); … … 324 324 * @returns VINF_SUCCESS or VERR_TIMEOUT. 325 325 */ 326 static int327 processPendingEvents(nsIEventQueue *pQueue)326 static 327 int processPendingEvents(nsIEventQueue *pQueue) 328 328 { 329 329 /* Check for timeout condition so the caller can be a bit more lazy. */ … … 444 444 * @return TRUE if successful and false otherwise 445 445 */ 446 BOOL EventQueue::postEvent 446 BOOL EventQueue::postEvent(Event *event) 447 447 { 448 448 #if defined (RT_OS_WINDOWS) … … 479 479 * @return TRUE if successful and false otherwise 480 480 */ 481 BOOL EventQueue::waitForEvent 481 BOOL EventQueue::waitForEvent(Event **event) 482 482 { 483 483 Assert(event); … … 539 539 * is created. 540 540 */ 541 BOOL EventQueue::handleEvent 541 BOOL EventQueue::handleEvent(Event *event) 542 542 { 543 543 Assert(event); … … 558 558 * functionality. 559 559 */ 560 int 560 int EventQueue::getSelectFD() 561 561 { 562 562 #ifdef VBOX_WITH_XPCOM
Note:
See TracChangeset
for help on using the changeset viewer.