VirtualBox

Ignore:
Timestamp:
Jul 22, 2008 8:12:42 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
33575
Message:

Guest properties: initial commit of new interface

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r10725 r10797  
    679679  <interface
    680680     name="IVirtualBoxCallback" extends="$unknown"
    681      uuid="ee95ffc2-b6c6-4ce8-9e9e-ceadbb5019fe"
     681     uuid="5516cc08-fb81-47a6-b184-031e7bbd2997"
    682682     wsmap="suppress"
    683683     >
     
    878878      <param name="snapshotId" type="uuid" dir="in">
    879879        <desc>ID of the changed snapshot.</desc>
     880      </param>
     881    </method>
     882
     883    <method name="onGuestPropertyChange">
     884      <desc>
     885        Notification when a guest property has changed.
     886      </desc>
     887      <param name="machineId" type="uuid" dir="in">
     888        <desc>
     889          ID of the machine this event relates to.
     890        </desc>
     891      </param>
     892      <param name="name" type="wstring" dir="in">
     893        <desc>
     894          The name of the property that has changed.
     895        </desc>
     896      </param>
     897      <param name="value" type="wstring" dir="in">
     898        <desc>
     899          The new property value.
     900        </desc>
     901      </param>
     902      <param name="flags" type="wstring" dir="in">
     903        <desc>
     904          The new property flags.
     905        </desc>
    880906      </param>
    881907    </method>
     
    25112537  <interface
    25122538     name="IMachine" extends="$unknown"
    2513      uuid="9966d6d7-8bed-4f18-8553-2486f32957b3"
     2539     uuid="1e509de4-d96c-4f44-8b94-860194f710ac"
    25142540     wsmap="managed"
    25152541     >
     
    34943520    <method name="getGuestProperty">
    34953521      <desc>
    3496         Reads a value from the machine's host/guest property store.
    3497 
    3498         If a session for this virtual machine is currently open then queries the
    3499         session object for the value, since the current values of the property
    3500         store will be held in RAM in the session. Otherwise reads the value from
    3501         machine extra data, where it is stored between sessions.
    3502 
    3503         This method will fail if we are currently transitioning between session
    3504         states.
     3522        Reads an entry from the machine's guest property store.
    35053523      </desc>
    35063524      <param name="key" type="wstring" dir="in">
     
    35093527        </desc>
    35103528      </param>
    3511       <param name="value" type="wstring" dir="return">
     3529      <param name="value" type="wstring" dir="out">
    35123530        <desc>
    35133531          The value of the key.  If the key does not exist then this will be
     
    35153533        </desc>
    35163534      </param>
     3535      <param name="timestamp" type="unsigned long long" dir="out">
     3536        <desc>
     3537          The time at which the key was last modified, as seen by the server
     3538          process.
     3539        </desc>
     3540      </param>
     3541      <param name="flags" type="wstring" dir="out">
     3542        <desc>
     3543          Additional key parameters, passed as a comma-separated list of
     3544          "name=value" type entries.
     3545        </desc>
     3546      </param>
     3547    </method>
     3548
     3549    <method name="getGuestPropertyValue">
     3550      <desc>
     3551        Reads a value from the machine's guest property store.
     3552      </desc>
     3553      <param name="key" type="wstring" dir="in">
     3554        <desc>
     3555          The name of the key to read.
     3556        </desc>
     3557      </param>
     3558      <param name="value" type="wstring" dir="return">
     3559        <desc>
     3560          The value of the key.  If the key does not exist then this will be
     3561          empty.
     3562        </desc>
     3563      </param>
     3564    </method>
     3565
     3566    <method name="getGuestPropertyTimestamp">
     3567      <desc>
     3568        Reads a key timestamp from the machine's guest property store.
     3569      </desc>
     3570      <param name="key" type="wstring" dir="in">
     3571        <desc>
     3572          The name of the key to read.
     3573        </desc>
     3574      </param>
     3575      <param name="value" type="unsigned long long" dir="return">
     3576        <desc>
     3577          The timestamp.  If the key does not exist then this will be empty.
     3578        </desc>
     3579      </param>
    35173580    </method>
    35183581
    35193582    <method name="setGuestProperty">
    35203583      <desc>
    3521         Sets, changes or deletes a value in the machine's host/guest
    3522         property store.
    3523 
    3524         If a session for this virtual machine is currently open then changes the
    3525         value on the session object, since the current values of the property
    3526         store will be held in RAM in the session. Otherwise changes the value
    3527         in machine extra data, where it is stored between sessions.
    3528 
    3529         This method will fail if we are currently transitioning between session
    3530         states.
     3584        Sets, changes or deletes an entry in the machine's guest property
     3585        store.
    35313586      </desc>
    35323587      <param name="key" type="wstring" dir="in">
     
    35383593        <desc>
    35393594          The new value of the key to set, change or delete.  If the key does
    3540           not yet exist and @a value is non-empty, it will be created.  If
    3541           @a value is empty, the key will be deleted if it exists.
    3542         </desc>
    3543       </param>
    3544     </method>
    3545 
     3595          not yet exist and value is non-empty, it will be created.  If value
     3596          is empty, the key will be deleted if it exists.
     3597        </desc>
     3598      </param>
     3599      <param name="flags" type="wstring" dir="in">
     3600        <desc>
     3601          Additional key parameters, passed as a comma-separated list of
     3602          "name=value" type entries.
     3603        </desc>
     3604      </param>
     3605    </method>
     3606
     3607    <method name="setGuestPropertyValue">
     3608      <desc>
     3609        Sets, changes or deletes a value in the machine's guest property
     3610        store.  The flags field will be left unchanged or created empty for a
     3611        new property.
     3612      </desc>
     3613      <param name="key" type="wstring" dir="in">
     3614        <desc>
     3615          The name of the key to set, change or delete.
     3616        </desc>
     3617      </param>
     3618      <param name="value" type="wstring" dir="in">
     3619        <desc>
     3620          The new value of the key to set, change or delete.  If the key does
     3621          not yet exist and value is non-empty, it will be created.  If value
     3622          is empty, the key will be deleted if it exists.
     3623        </desc>
     3624      </param>
     3625    </method>
     3626
     3627    <method name="enumerateGuestProperties">
     3628      <desc>
     3629        Return a list of the guest properties matching a set of patterns along
     3630        with their values, timestamps and flags.
     3631      </desc>
     3632      <param name="patterns" type="wstring" dir="in">
     3633        <desc>
     3634          The patterns to match the properties against as a comma-separated
     3635          string.  If this is empty, all properties currently set will be
     3636          returned.
     3637        </desc>
     3638      </param>
     3639      <param name="key" type="wstring" dir="out" safearray="yes">
     3640        <desc>
     3641          The key names of the properties returned.
     3642        </desc>
     3643      </param>
     3644      <param name="value" type="wstring" dir="out" safearray="yes">
     3645        <desc>
     3646          The values of the properties returned.  The array entries match the
     3647          corresponding entries in the @a key array.
     3648        </desc>
     3649      </param>
     3650      <param name="timestamp" type="unsigned long long" dir="out" safearray="yes">
     3651        <desc>
     3652          The timestamps of the properties returned.  The array entries match
     3653          the corresponding entries in the @a key array.
     3654        </desc>
     3655      </param>
     3656      <param name="flags" type="wstring" dir="out" safearray="yes">
     3657        <desc>
     3658          The flags of the properties returned.  The array entries match the
     3659          corresponding entries in the @a key array.
     3660        </desc>
     3661      </param>
     3662    </method>
    35463663  </interface>
    35473664
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