VirtualBox

Changeset 42817 in vbox


Ignore:
Timestamp:
Aug 15, 2012 8:37:16 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
80064
Message:

Main/Guest: whitespace cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestImpl.cpp

    r42261 r42817  
    4747/////////////////////////////////////////////////////////////////////////////
    4848
    49 DEFINE_EMPTY_CTOR_DTOR (Guest)
     49DEFINE_EMPTY_CTOR_DTOR(Guest)
    5050
    5151HRESULT Guest::FinalConstruct()
     
    5656void Guest::FinalRelease()
    5757{
    58     uninit ();
     58    uninit();
    5959    BaseFinalRelease();
    6060}
     
    104104
    105105    mMagic = GUEST_MAGIC;
    106     int vrc = RTTimerLRCreate (&mStatTimer, 1000 /* ms */,
    107                                &Guest::staticUpdateStats, this);
    108     AssertMsgRC (vrc, ("Failed to create guest statistics "
    109                        "update timer(%Rra)\n", vrc));
     106    int vrc = RTTimerLRCreate(&mStatTimer, 1000 /* ms */,
     107                              &Guest::staticUpdateStats, this);
     108    AssertMsgRC(vrc, ("Failed to create guest statistics update timer(%Rra)\n", vrc));
    110109
    111110#ifdef VBOX_WITH_GUEST_CONTROL
     
    165164
    166165    /* Destroy stat update timer */
    167     int vrc = RTTimerLRDestroy (mStatTimer);
    168     AssertMsgRC (vrc, ("Failed to create guest statistics "
    169                        "update timer(%Rra)\n", vrc));
     166    int vrc = RTTimerLRDestroy(mStatTimer);
     167    AssertMsgRC(vrc, ("Failed to create guest statistics update timer(%Rra)\n", vrc));
    170168    mStatTimer = NULL;
    171169    mMagic     = 0;
     
    182180void Guest::staticUpdateStats(RTTIMERLR hTimerLR, void *pvUser, uint64_t iTick)
    183181{
    184     AssertReturnVoid (pvUser != NULL);
    185     Guest *guest = static_cast <Guest *> (pvUser);
     182    AssertReturnVoid(pvUser != NULL);
     183    Guest *guest = static_cast<Guest *>(pvUser);
    186184    Assert(guest->mMagic == GUEST_MAGIC);
    187185    if (guest->mMagic == GUEST_MAGIC)
    188186        guest->updateStats(iTick);
    189187
    190     NOREF (hTimerLR);
     188    NOREF(hTimerLR);
    191189}
    192190
     
    222220    uZeroMem        = 0;
    223221
    224     Console::SafeVMPtr pVM (mParent);
     222    Console::SafeVMPtr pVM(mParent);
    225223    if (pVM.isOk())
    226224    {
     
    296294}
    297295
    298 STDMETHODIMP Guest::COMGETTER(AdditionsRunLevel) (AdditionsRunLevelType_T *aRunLevel)
     296STDMETHODIMP Guest::COMGETTER(AdditionsRunLevel)(AdditionsRunLevelType_T *aRunLevel)
    299297{
    300298    AutoCaller autoCaller(this);
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