VirtualBox

Changeset 28669 in vbox


Ignore:
Timestamp:
Apr 23, 2010 5:53:01 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
60540
Message:

Main: declare some methods const

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

Legend:

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

    r28585 r28669  
    40204020                                             BSTR *aValue,
    40214021                                             ULONG64 *aTimestamp,
    4022                                              BSTR *aFlags)
     4022                                             BSTR *aFlags) const
    40234023{
    40244024    using namespace guestProp;
     
    40534053                                        BSTR *aValue,
    40544054                                        ULONG64 *aTimestamp,
    4055                                         BSTR *aFlags)
     4055                                        BSTR *aFlags) const
    40564056{
    40574057    HRESULT rc;
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r28645 r28669  
    37353735  <interface
    37363736     name="IInternalMachineControl" extends="$unknown"
    3737      uuid="35d8d838-d066-447d-927a-fd93afdbec90"
     3737     uuid="1b61599c-0686-451c-a7b6-96761f3f0ac5"
    37383738     internal="yes"
    37393739     wsmap="suppress"
     
    56965696    </method>
    56975697
    5698     <method name="getGuestProperty">
     5698    <method name="getGuestProperty" const="yes">
    56995699      <desc>
    57005700        Reads an entry from the machine's guest property store.
     
    57305730    </method>
    57315731
    5732     <method name="getGuestPropertyValue">
     5732    <method name="getGuestPropertyValue" const="yes">
    57335733      <desc>
    57345734        Reads a value from the machine's guest property store.
     
    57525752    </method>
    57535753
    5754     <method name="getGuestPropertyTimestamp">
     5754    <method name="getGuestPropertyTimestamp" const="yes">
    57555755      <desc>
    57565756        Reads a property timestamp from the machine's guest property store.
  • trunk/src/VBox/Main/include/MachineImpl.h

    r28585 r28669  
    792792#ifdef VBOX_WITH_GUEST_PROPS
    793793    HRESULT getGuestPropertyFromService(IN_BSTR aName, BSTR *aValue,
    794                                         ULONG64 *aTimestamp, BSTR *aFlags);
     794                                        ULONG64 *aTimestamp, BSTR *aFlags) const;
    795795    HRESULT getGuestPropertyFromVM(IN_BSTR aName, BSTR *aValue,
    796                                    ULONG64 *aTimestamp, BSTR *aFlags);
     796                                   ULONG64 *aTimestamp, BSTR *aFlags) const;
    797797    HRESULT setGuestPropertyToService(IN_BSTR aName, IN_BSTR aValue,
    798798                                      IN_BSTR aFlags);
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