VirtualBox

Changeset 47216 in vbox for trunk/src


Ignore:
Timestamp:
Jul 17, 2013 1:22:41 PM (12 years ago)
Author:
vboxsync
Message:

Main: Added new event OnGuestUserStateChanged + GuestUserState enumeration.

File:
1 edited

Legend:

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

    r47208 r47216  
    16061606         that why it's easy to configure dhcp server in such way,
    16071607         then ask user to to enter valid name,
    1608        
     1608
    16091609         - mac address might change because of adapter type (e1k <-> pcnet) or because
    16101610         of import/export
    1611        
     1611
    16121612         - it's easy to provide vm-name.rom in boot filename VM with network boot.
    1613        
     1613
    16141614         XXX: do we need classic getOptionValueByMAC?
    1615        
     1615
    16161616         XML: O-o-oh, this settings are per VM, so perhaps they should be stored in
    16171617              VM configuration files. And we haven't got the attachment type for
     
    94519451
    94529452  <enum
     9453    name="GuestUserState"
     9454    uuid="b2a82b02-fd3d-4fc2-ba84-6ba5ac8be198"
     9455    >
     9456    <desc>
     9457      State a guest user has been changed to.
     9458    </desc>
     9459
     9460    <const name="Unknown"                 value="0">
     9461      <desc>Unknown state. Not being used.</desc>
     9462    </const>
     9463    <const name="LoggedIn"                value="1">
     9464      <desc>A guest user has been successfully logged into
     9465        the guest OS.</desc>
     9466    </const>
     9467    <const name="LoggedOut"               value="2">
     9468      <desc>A guest user has been successfully logged out
     9469        of the guest OS.</desc>
     9470    </const>
     9471    <const name="Locked"                  value="3">
     9472      <desc>A guest user has locked its account. This might
     9473        include running a password-protected screensaver
     9474        on the guest.</desc>
     9475    </const>
     9476    <const name="Unlocked"                value="4">
     9477      <desc>A guest user has unlocked its account.</desc>
     9478    </const>
     9479    <const name="Disabled"                value="5">
     9480      <desc>A guest user has been disabled by the guest OS.</desc>
     9481    </const>
     9482    <const name="Idle"                    value="6">
     9483      <desc>A guest user currently is not using the guest
     9484        OS.</desc>
     9485    </const>
     9486    <const name="InUse"                   value="7">
     9487      <desc>A guest user continued using the guest OS.</desc>
     9488    </const>
     9489    <const name="Created"                 value="8">
     9490      <desc>A guest user has been successfully created.</desc>
     9491    </const>
     9492    <const name="Deleted"                 value="9">
     9493      <desc>A guest user has been successfully deleted.</desc>
     9494    </const>
     9495    <const name="SessionChanged"          value="10">
     9496      <desc>To guest OS has changed the session of a user.</desc>
     9497    </const>
     9498    <const name="CredentialsChanged"      value="11">
     9499      <desc>To guest OS has changed the authentication
     9500        credentials of a user. This might include changed passwords
     9501        and authentication types.</desc>
     9502    </const>
     9503    <const name="RoleChanged"             value="12">
     9504      <desc>To guest OS has changed the role of a user permanently,
     9505        e.g. granting / denying administrative rights.</desc>
     9506    </const>
     9507    <const name="GroupAdded"              value="13">
     9508      <desc>To guest OS has added a user to a specific
     9509        user group.</desc>
     9510    </const>
     9511    <const name="GroupRemoved"            value="14">
     9512      <desc>To guest OS has removed a user from a specific
     9513        user group.</desc>
     9514    </const>
     9515    <const name="Elevated"                value="15">
     9516      <desc>To guest OS temporarily has elevated a user
     9517        to perform a certain task.</desc>
     9518    </const>
     9519  </enum>
     9520
     9521  <enum
    94539522    name="FileSeekType"
    94549523    uuid="1b73f4f3-3515-4073-a506-76878d9e2541"
     
    1908519154  <enum
    1908619155    name="VBoxEventType"
    19087     uuid="f019b8c7-22a6-468a-9f7c-3443b7b6c40a"
     19156    uuid="84af836d-0afc-4598-b9f4-37bf34d13cbd"
    1908819157    >
    1908919158
     
    1944719516      <desc>
    1944819517        See <link to="IVideoCaptureChangedEvent">IVideoCapturedChangeEvent</link>.
     19518      </desc>
     19519    </const>
     19520    <const name="OnGuestUserStateChanged" value="92">
     19521      <desc>
     19522        See <link to="IGuestUserStateChangedEvent">IGuestUserStateChangedEvent</link>.
    1944919523      </desc>
    1945019524    </const>
     
    2124521319
    2124621320  <interface
     21321    name="IGuestUserStateChangedEvent" extends="IEvent"
     21322    uuid="39b4e759-1ec0-4c0f-857f-fbe2a737a256"
     21323    wsmap="managed" autogen="VBoxEvent" id="OnGuestUserStateChanged"
     21324    >
     21325    <desc>
     21326      Notification when a guest user changed its state.
     21327    </desc>
     21328
     21329    <attribute name="name" type="wstring" readonly="yes">
     21330      <desc>
     21331        Name of the guest user whose state changed.
     21332      </desc>
     21333    </attribute>
     21334    <attribute name="domain" type="wstring" readonly="yes">
     21335      <desc>
     21336        Name of the FQDN (fully qualified domain name) this user is bound
     21337        to. Optional.
     21338      </desc>
     21339    </attribute>
     21340    <attribute name="state" type="GuestUserState" readonly="yes">
     21341      <desc>
     21342        What was changed for this guest user.
     21343      </desc>
     21344    </attribute>
     21345    <attribute name="stateDetails" type="wstring" readonly="yes">
     21346      <desc>
     21347        Optional state details, depending on the <link to="#state"/> attribute.</li>
     21348      </desc>
     21349    </attribute>
     21350
     21351  </interface>
     21352
     21353  <interface
    2124721354    name="IStorageDeviceChangedEvent" extends="IEvent"
    2124821355    uuid="232e9151-ae84-4b8e-b0f3-5c20c35caac9"
     
    2127021377    </attribute>
    2127121378  </interface>
     21379
    2127221380  <interface
    2127321381    name="INATNetworkChangedEvent" extends="IEvent"
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