VirtualBox

Changeset 27232 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Mar 9, 2010 9:05:57 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
58614
Message:

Storage/VBoxHDD+DrvVD: implement framework for providing thread synchronization. Additionally some cleanup to resolve a few minor long-standing todos.

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/MediumImpl.cpp

    r27200 r27232  
    47854785
    47864786/**
    4787  * PFNVMPROGRESS callback handler for Task operations.
    4788  *
     4787 * PFNVDPROGRESS callback handler for Task operations.
     4788 *
     4789 * @param pvUser      Pointer to the Progress instance.
    47894790 * @param uPercent    Completetion precentage (0-100).
    4790  * @param pvUser      Pointer to the Progress instance.
    47914791 */
    47924792/*static*/
    4793 DECLCALLBACK(int) Medium::vdProgressCall(PVM /* pVM */, unsigned uPercent,
    4794                                          void *pvUser)
     4793DECLCALLBACK(int) Medium::vdProgressCall(void *pvUser, unsigned uPercent)
    47954794{
    47964795    Progress *that = static_cast<Progress *>(pvUser);
  • trunk/src/VBox/Main/include/MediumImpl.h

    r26984 r27232  
    2727
    2828class Progress;
    29 struct VM;
    3029
    3130namespace settings
     
    295294                                          const char *pszFormat, va_list va);
    296295
    297     static DECLCALLBACK(int) vdProgressCall(VM* /* pVM */, unsigned uPercent,
    298                                             void *pvUser);
     296    static DECLCALLBACK(int) vdProgressCall(void *pvUser, unsigned uPercent);
    299297
    300298    static DECLCALLBACK(bool) vdConfigAreKeysValid(void *pvUser,
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