DBusService

Differences between revisions 1 and 2
Revision 1 as of 2009-06-23 13:34:27
Size: 1899
Editor: cpc4-slam5-2-0-cust9
Comment:
Revision 2 as of 2009-06-30 11:31:07
Size: 1849
Editor: cpc4-slam5-2-0-cust9
Comment:
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
    GetCurrentOS(out 'o')
    GetCurrentUser(out 'o')
    GetRunningSystem(out 'o')
    GetRunningUser(out 'o')
Line 35: Line 35:
    is-writeable # or does this belong at the user/item level as well?
Line 71: Line 70:
    is-writeable

===============================================================================

/com/ubuntu/MigrationAssistant

Interfaces:
com.ubuntu.MigrationAssistant

    Methods:
    EnumerateOperatingSystems ()

    Begin() -> returns an Import object
    GetOperatingSystem (uuid)
    GetItem(string uuid, string user, string item) -> returns 'o' (Item)
    GetRunningSystem(out 'o')
    GetRunningUser(out 'o')

===============================================================================

/com/ubuntu/MigrationAssistant/UUID
...

Interfaces:
com.ubuntu.MigrationAssistant.System

    Methods:
    EnumerateUsers ()

    GetUuid(...)
    GetItem(string user, string item) -> returns 'o' (Item)

    Properties:
    title
    uuid

===============================================================================

/com/ubuntu/MigrationAssistant/UUID/USER
...

Interfaces:
com.ubuntu.MigrationAssistant.User

    Methods:
    EnumerateItems ()

    GetUser(...)
    GetItem(string item) -> returns 'o' (Item)

    Properties:
    username

===============================================================================

/com/ubuntu/MigrationAssistant/UUID/USER/PIDGIN
...

Interfaces:
com.ubuntu.MigrationAssistant.Item

    Methods:
    Import (in 'o', in 'o') -> Takes an Import object and an Item object
    GetIcon () -> Returns a path to the icon file.
    GetType ? () -> Returns ?

    Properties:
    name
    size
    title
    is-writeable

===============================================================================

com.ubuntu.MigrationAssistant.Import

    Methods:
    Commit () -> Merges itself into the merged object that is intended to
                 become its new value, then flushes the merged object to disk
                 in its format.

MigrationAssistant/Karmic/DBusService (last edited 2009-08-07 16:19:31 by 89)