VirtualBox

Changeset 27834 in vbox for trunk/src


Ignore:
Timestamp:
Mar 30, 2010 4:06:00 PM (15 years ago)
Author:
vboxsync
Message:

Main/guest properties: correct method capitalisation

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

Legend:

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

    r27823 r27834  
    37893789 * Look up a guest property in VBoxSVC's internal structures.
    37903790 */
    3791 HRESULT Machine::GetGuestPropertyFromService(IN_BSTR aName,
     3791HRESULT Machine::getGuestPropertyFromService(IN_BSTR aName,
    37923792                                             BSTR *aValue,
    37933793                                             ULONG64 *aTimestamp,
     
    38223822 *          VBoxSVC.
    38233823 */
    3824 HRESULT Machine::GetGuestPropertyFromVM(IN_BSTR aName,
     3824HRESULT Machine::getGuestPropertyFromVM(IN_BSTR aName,
    38253825                                        BSTR *aValue,
    38263826                                        ULONG64 *aTimestamp,
     
    38603860    if (FAILED(autoCaller.rc())) return autoCaller.rc();
    38613861
    3862     HRESULT rc = GetGuestPropertyFromVM(aName, aValue, aTimestamp, aFlags);
     3862    HRESULT rc = getGuestPropertyFromVM(aName, aValue, aTimestamp, aFlags);
    38633863    if (rc == E_ACCESSDENIED)
    38643864        /* The VM is not running or the service is not (yet) accessible */
    3865         rc = GetGuestPropertyFromService(aName, aValue, aTimestamp, aFlags);
     3865        rc = getGuestPropertyFromService(aName, aValue, aTimestamp, aFlags);
    38663866    return rc;
    38673867#endif // VBOX_WITH_GUEST_PROPS
     
    38863886 * Set a guest property in VBoxSVC's internal structures.
    38873887 */
    3888 HRESULT Machine::SetGuestPropertyToService(IN_BSTR aName, IN_BSTR aValue,
     3888HRESULT Machine::setGuestPropertyToService(IN_BSTR aName, IN_BSTR aValue,
    38893889                                           IN_BSTR aFlags)
    38903890{
     
    39883988 *          VBoxSVC.
    39893989 */
    3990 HRESULT Machine::SetGuestPropertyToVM(IN_BSTR aName, IN_BSTR aValue,
     3990HRESULT Machine::setGuestPropertyToVM(IN_BSTR aName, IN_BSTR aValue,
    39913991                                      IN_BSTR aFlags)
    39923992{
     
    40304030    if (FAILED(autoCaller.rc())) return autoCaller.rc();
    40314031
    4032     HRESULT rc = SetGuestPropertyToVM(aName, aValue, aFlags);
     4032    HRESULT rc = setGuestPropertyToVM(aName, aValue, aFlags);
    40334033    if (rc == E_ACCESSDENIED)
    40344034        /* The VM is not running or the service is not (yet) accessible */
    4035         rc = SetGuestPropertyToService(aName, aValue, aFlags);
     4035        rc = setGuestPropertyToService(aName, aValue, aFlags);
    40364036    return rc;
    40374037#endif // VBOX_WITH_GUEST_PROPS
     
    40474047 * Enumerate the guest properties in VBoxSVC's internal structures.
    40484048 */
    4049 HRESULT Machine::EnumerateGuestPropertiesInService
     4049HRESULT Machine::enumerateGuestPropertiesInService
    40504050                (IN_BSTR aPatterns, ComSafeArrayOut(BSTR, aNames),
    40514051                 ComSafeArrayOut(BSTR, aValues),
     
    41074107 *          VBoxSVC.
    41084108 */
    4109 HRESULT Machine::EnumerateGuestPropertiesOnVM
     4109HRESULT Machine::enumerateGuestPropertiesOnVM
    41104110                (IN_BSTR aPatterns, ComSafeArrayOut(BSTR, aNames),
    41114111                 ComSafeArrayOut(BSTR, aValues),
     
    41494149    if (FAILED(autoCaller.rc())) return autoCaller.rc();
    41504150
    4151     HRESULT rc = EnumerateGuestPropertiesOnVM
     4151    HRESULT rc = enumerateGuestPropertiesOnVM
    41524152                     (aPatterns, ComSafeArrayOutArg(aNames),
    41534153                      ComSafeArrayOutArg(aValues),
     
    41564156    if (rc == E_ACCESSDENIED)
    41574157        /* The VM is not running or the service is not (yet) accessible */
    4158         rc = EnumerateGuestPropertiesInService
     4158        rc = enumerateGuestPropertiesInService
    41594159                     (aPatterns, ComSafeArrayOutArg(aNames),
    41604160                      ComSafeArrayOutArg(aValues),
  • trunk/src/VBox/Main/include/MachineImpl.h

    r27823 r27834  
    772772
    773773#ifdef VBOX_WITH_GUEST_PROPS
    774     HRESULT GetGuestPropertyFromService(IN_BSTR aName, BSTR *aValue,
     774    HRESULT getGuestPropertyFromService(IN_BSTR aName, BSTR *aValue,
    775775                                        ULONG64 *aTimestamp, BSTR *aFlags);
    776     HRESULT GetGuestPropertyFromVM(IN_BSTR aName, BSTR *aValue,
     776    HRESULT getGuestPropertyFromVM(IN_BSTR aName, BSTR *aValue,
    777777                                   ULONG64 *aTimestamp, BSTR *aFlags);
    778     HRESULT SetGuestPropertyToService(IN_BSTR aName, IN_BSTR aValue,
     778    HRESULT setGuestPropertyToService(IN_BSTR aName, IN_BSTR aValue,
    779779                                      IN_BSTR aFlags);
    780     HRESULT SetGuestPropertyToVM(IN_BSTR aName, IN_BSTR aValue,
     780    HRESULT setGuestPropertyToVM(IN_BSTR aName, IN_BSTR aValue,
    781781                                 IN_BSTR aFlags);
    782     HRESULT EnumerateGuestPropertiesInService
     782    HRESULT enumerateGuestPropertiesInService
    783783                (IN_BSTR aPatterns, ComSafeArrayOut(BSTR, aNames),
    784784                 ComSafeArrayOut(BSTR, aValues),
    785785                 ComSafeArrayOut(ULONG64, aTimestamps),
    786786                 ComSafeArrayOut(BSTR, aFlags));
    787     HRESULT EnumerateGuestPropertiesOnVM
     787    HRESULT enumerateGuestPropertiesOnVM
    788788                (IN_BSTR aPatterns, ComSafeArrayOut(BSTR, aNames),
    789789                 ComSafeArrayOut(BSTR, aValues),
Note: See TracChangeset for help on using the changeset viewer.

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