VirtualBox

Changeset 11081 in vbox for trunk


Ignore:
Timestamp:
Aug 3, 2008 8:52:29 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
33992
Message:

HostServices/GuestProperties: renaming

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/HostServices/GuestPropertySvc.h

    r11040 r11081  
    3939    /**
    4040     * Get the value attached to a configuration property key
    41      * The parameter format matches that of GET_CONFIG_KEY.
    42      */
    43     GET_CONFIG_KEY_HOST = 2,
     41     * The parameter format matches that of GET_PROP.
     42     */
     43    GET_PROP_HOST = 2,
    4444    /**
    4545     * Set the value attached to a configuration property key
    46      * The parameter format matches that of SET_CONFIG_KEY.
    47      */
    48     SET_CONFIG_KEY_HOST = 3,
     46     * The parameter format matches that of SET_PROP.
     47     */
     48    SET_PROP_HOST = 3,
     49    /**
     50     * Set the value attached to a configuration property key
     51     * The parameter format matches that of SET_PROP_VALUE.
     52     */
     53    SET_PROP_VALUE_HOST = 4,
    4954    /**
    5055     * Remove the value attached to a configuration property key
    51      * The parameter format matches that of DEL_CONFIG_KEY.
    52      */
    53     DEL_CONFIG_KEY_HOST = 4,
     56     * The parameter format matches that of DEL_PROP.
     57     */
     58    DEL_PROP_HOST = 5,
    5459    /**
    5560     * Enumerate guest properties.
    5661     * The parameter format matches that of ENUM_PROPS.
    5762     */
    58     ENUM_PROPS_HOST = 5
     63    ENUM_PROPS_HOST = 6
    5964};
    6065
  • trunk/src/VBox/HostServices/GuestProperties/service.cpp

    r11063 r11081  
    354354    uint64_t u64Timestamp = 0;
    355355    if (RT_SUCCESS(rc) && (mpTimestampNode != NULL))
    356         rc = CFGMR3QueryU64(mpFlagsNode, pszName, &u64Timestamp);
    357     if (RT_SUCCESS(rc))
    358         VBoxHGCMParmUInt64Set(&paParms[2], 0);
     356        CFGMR3QueryU64(mpTimestampNode, pszName, &u64Timestamp);
     357    VBoxHGCMParmUInt64Set(&paParms[2], u64Timestamp);
    359358
    360359/*
     
    770769
    771770        /* The host wishes to read a configuration value */
    772         case GET_CONFIG_KEY_HOST:
    773             LogFlowFunc(("GET_CONFIG_KEY_HOST\n"));
    774             rc = getKey(cParms, paParms);
     771        case GET_PROP_HOST:
     772            LogFlowFunc(("GET_PROP_HOST\n"));
     773            rc = getProperty(cParms, paParms);
    775774            break;
    776775
    777776        /* The host wishes to set a configuration value */
    778         case SET_CONFIG_KEY_HOST:
    779             LogFlowFunc(("SET_CONFIG_KEY_HOST\n"));
     777        case SET_PROP_HOST:
     778            LogFlowFunc(("SET_PROP_HOST\n"));
    780779            rc = setKey(cParms, paParms);
    781780            break;
    782781
     782        /* The host wishes to set a configuration value */
     783        case SET_PROP_VALUE_HOST:
     784            LogFlowFunc(("SET_PROP_VALUE_HOST\n"));
     785            rc = setKey(cParms, paParms);
     786            break;
     787
    783788        /* The host wishes to remove a configuration value */
    784         case DEL_CONFIG_KEY_HOST:
     789        case DEL_PROP_HOST:
    785790            LogFlowFunc(("DEL_CONFIG_KEY_HOST\n"));
    786791            rc = delKey(cParms, paParms);
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