DBusService
Differences between revisions 1 and 7 (spanning 6 versions)
Size: 1899
Comment:
|
← Revision 7 as of 2009-08-07 16:19:31 ⇥
Size: 2632
Comment: add possible properties for ubiquity
|
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 31: | Line 31: |
GetItemForType(string type) -> returns 'o' (Item) | |
Line 35: | Line 36: |
is-writeable # or does this belong at the user/item level as well? | timezone (?) -> For ubiquity. Ex: Europe/Dublin keyboard-layout (?) -> For ubiquity. Ex: us keyboard-variant (?) -> For ubiquity. Ex: qwerty language (?) -> For ubiquity. Ex: en_US.UTF-8 hostname (?) -> For ubiquity. Ex: ubuntu-desktop Signals: Removed() |
Line 54: | Line 62: |
Signals: Removed() |
|
Line 63: | Line 74: |
Import (in 'o', in 'o') -> Takes an Import object and an Item object | Import (in 'o', in 'o') -> Takes an Import object and an Item object. Throws an exception if the types do not match. |
Line 65: | Line 77: |
GetType ? () -> Returns ? | GetType () -> Returns the string type of the item, ex. instant-messaging. |
Line 71: | Line 83: |
is-writeable Signals: Removed() |
|
Line 80: | Line 96: |
Signals: Progress(out 'i') -> Emits an integer value for progress complete. We cannot report the object being imported, as multiple import routines could be running in parallel. |
=============================================================================== /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) GetItemForType(string type) -> returns 'o' (Item) Properties: title uuid timezone (?) -> For ubiquity. Ex: Europe/Dublin keyboard-layout (?) -> For ubiquity. Ex: us keyboard-variant (?) -> For ubiquity. Ex: qwerty language (?) -> For ubiquity. Ex: en_US.UTF-8 hostname (?) -> For ubiquity. Ex: ubuntu-desktop Signals: Removed() =============================================================================== /com/ubuntu/MigrationAssistant/UUID/USER ... Interfaces: com.ubuntu.MigrationAssistant.User Methods: EnumerateItems () GetUser(...) GetItem(string item) -> returns 'o' (Item) Properties: username Signals: Removed() =============================================================================== /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. Throws an exception if the types do not match. GetIcon () -> Returns a path to the icon file. GetType () -> Returns the string type of the item, ex. instant-messaging. Properties: name size title is-writeable Signals: Removed() =============================================================================== 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. Signals: Progress(out 'i') -> Emits an integer value for progress complete. We cannot report the object being imported, as multiple import routines could be running in parallel.
MigrationAssistant/Karmic/DBusService (last edited 2009-08-07 16:19:31 by 89)