VirtualBox

Changeset 31371 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 4, 2010 7:00:40 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
64428
Message:

coding style

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/glue/EventQueue.cpp

    r28800 r31371  
    168168 *           XPCOM initialization or we'll end up using the wrong main queue.
    169169 */
    170 /* static */ int
    171 EventQueue::init()
     170/* static */
     171int EventQueue::init()
    172172{
    173173    Assert(mMainQueue == NULL);
     
    196196 *  @returns VINF_SUCCESS
    197197 */
    198 /* static */ int
    199 EventQueue::uninit()
     198/* static */
     199int EventQueue::uninit()
    200200{
    201201    Assert(mMainQueue);
     
    210210 *  Depends on init() being called first.
    211211 */
    212 /* static */ EventQueue *
    213 EventQueue::getMainEventQueue()
     212/* static */
     213EventQueue* EventQueue::getMainEventQueue()
    214214{
    215215    return mMainQueue;
     
    259259 *  @param  cMsTimeout      How long to wait, or RT_INDEFINITE_WAIT.
    260260 */
    261 static int
    262 waitForEventsOnUnix(nsIEventQueue *pQueue, unsigned cMsTimeout)
     261static
     262int waitForEventsOnUnix(nsIEventQueue *pQueue, unsigned cMsTimeout)
    263263{
    264264    int     fd = pQueue->GetEventQueueSelectFD();
     
    324324 * @returns VINF_SUCCESS or VERR_TIMEOUT.
    325325 */
    326 static int
    327 processPendingEvents(nsIEventQueue *pQueue)
     326static
     327int processPendingEvents(nsIEventQueue *pQueue)
    328328{
    329329    /* Check for timeout condition so the caller can be a bit more lazy. */
     
    444444 *  @return         TRUE if successful and false otherwise
    445445 */
    446 BOOL EventQueue::postEvent (Event *event)
     446BOOL EventQueue::postEvent(Event *event)
    447447{
    448448#if defined (RT_OS_WINDOWS)
     
    479479 *  @return         TRUE if successful and false otherwise
    480480 */
    481 BOOL EventQueue::waitForEvent (Event **event)
     481BOOL EventQueue::waitForEvent(Event **event)
    482482{
    483483    Assert(event);
     
    539539 *  is created.
    540540 */
    541 BOOL EventQueue::handleEvent (Event *event)
     541BOOL EventQueue::handleEvent(Event *event)
    542542{
    543543    Assert(event);
     
    558558 *  functionality.
    559559 */
    560 int  EventQueue::getSelectFD()
     560int EventQueue::getSelectFD()
    561561{
    562562#ifdef VBOX_WITH_XPCOM
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette