'From etoys3.0 of 7 March 2008 [latest update: #1939] on 28 March 2008 at 6:24:57 pm'! "Change Set: sugarProxies-bf Date: 28 March 2008 Author: Bert Freudenberg add proxies for datastore, journal, and presence"! DBusCompiledProxy subclass: #SugarDataStore instanceVariableNames: '' classVariableNames: '' poolDictionaries: '' category: 'Sugar-DBus'! !SugarDataStore commentStamp: 'bf 3/28/2008 18:05' prior: 0! SugarDataStore new find: { 'mime_type'->#('image/png' 'image/jpeg'). 'limit' -> 2. 'offset' -> 0} with: #('title' 'uid') ! DBusCompiledProxy subclass: #SugarJournal instanceVariableNames: '' classVariableNames: '' poolDictionaries: '' category: 'Sugar-DBus'! !SugarJournal commentStamp: '' prior: 0! SugarJournal new focusSearch:{'query' -> 'etoys'}! DBusCompiledProxy subclass: #SugarPresence instanceVariableNames: '' classVariableNames: '' poolDictionaries: '' category: 'Sugar-DBus'! !SugarPresence commentStamp: '' prior: 0! SugarPresence new getOwner! DBusCompiledProxy subclass: #SugarPresenceActivity instanceVariableNames: '' classVariableNames: '' poolDictionaries: '' category: 'Sugar-DBus'! DBusCompiledProxy subclass: #SugarPresenceBuddy instanceVariableNames: '' classVariableNames: '' poolDictionaries: '' category: 'Sugar-DBus'! !SugarPresenceBuddy commentStamp: '' prior: 0! | buddy | buddy := SugarPresence new getOwner. buddy getProperties at: 'nick'! !SugarDataStore methodsFor: 'org.laptop.sugar.DataStore' stamp: 'bf 3/27/2008 15:30'! completeIndexing "Returns nothing." "Automatically generated" ^self dbusPerform: 'complete_indexing' interface: 'org.laptop.sugar.DataStore'! ! !SugarDataStore methodsFor: 'org.laptop.sugar.DataStore' stamp: 'bf 3/27/2008 15:32'! create: propsDictionary with: filelikeString with: transferOwnershipBoolean "Returns aString 's'." "Automatically generated" ^self dbusPerform: 'create' interface: 'org.laptop.sugar.DataStore' withArguments: { DBusArgument value: propsDictionary signature: 'a{sv}'. DBusArgument value: filelikeString signature: 's'. DBusArgument value: transferOwnershipBoolean signature: 'b'.}! ! !SugarDataStore methodsFor: 'org.laptop.sugar.DataStore' stamp: 'bf 3/27/2008 15:30'! delete: uidString "Returns nothing." "Automatically generated" ^self dbusPerform: 'delete' interface: 'org.laptop.sugar.DataStore' withArguments: { DBusArgument value: uidString signature: 's'.}! ! !SugarDataStore methodsFor: 'org.laptop.sugar.DataStore' stamp: 'bf 3/27/2008 16:07'! find: queryDictionary with: propertiesArrayOfStrings "Returns anArrayOfDictionaries 'aa{sv}' and anUint32 'u'." "Automatically generated" ^self dbusPerform: 'find' interface: 'org.laptop.sugar.DataStore' withArguments: { DBusArgument value: queryDictionary signature: 'a{sv}'. DBusArgument value: propertiesArrayOfStrings signature: 'as'.}! ! !SugarDataStore methodsFor: 'org.laptop.sugar.DataStore' stamp: 'bf 3/27/2008 15:30'! getFilename: uidString "Returns aString 's'." "Automatically generated" ^self dbusPerform: 'get_filename' interface: 'org.laptop.sugar.DataStore' withArguments: { DBusArgument value: uidString signature: 's'.}! ! !SugarDataStore methodsFor: 'org.laptop.sugar.DataStore' stamp: 'bf 3/27/2008 15:30'! getProperties: uidString "Returns aDictionary 'a{sv}'." "Automatically generated" ^self dbusPerform: 'get_properties' interface: 'org.laptop.sugar.DataStore' withArguments: { DBusArgument value: uidString signature: 's'.}! ! !SugarDataStore methodsFor: 'org.laptop.sugar.DataStore' stamp: 'bf 3/27/2008 16:07'! getUniquevaluesfor: propertynameString with: queryDictionary "Returns anArrayOfStrings 'as'." "Automatically generated" ^self dbusPerform: 'get_uniquevaluesfor' interface: 'org.laptop.sugar.DataStore' withArguments: { DBusArgument value: propertynameString signature: 's'. DBusArgument value: queryDictionary signature: 'a{sv}'.}! ! !SugarDataStore methodsFor: 'org.laptop.sugar.DataStore' stamp: 'bf 3/27/2008 16:07'! ids: mountpointString "Returns anArrayOfStrings 'as'." "Automatically generated" ^self dbusPerform: 'ids' interface: 'org.laptop.sugar.DataStore' withArguments: { DBusArgument value: mountpointString signature: 's'.}! ! !SugarDataStore methodsFor: 'org.laptop.sugar.DataStore' stamp: 'bf 3/27/2008 15:30'! mounts "Returns anArrayOfDictionaries 'aa{sv}'." "Automatically generated" ^self dbusPerform: 'mounts' interface: 'org.laptop.sugar.DataStore'! ! !SugarDataStore methodsFor: 'org.laptop.sugar.DataStore' stamp: 'bf 3/27/2008 15:30'! mount: uriString with: optionsDictionary "Returns aString 's'." "Automatically generated" ^self dbusPerform: 'mount' interface: 'org.laptop.sugar.DataStore' withArguments: { DBusArgument value: uriString signature: 's'. DBusArgument value: optionsDictionary signature: 'a{sv}'.}! ! !SugarDataStore methodsFor: 'org.laptop.sugar.DataStore' stamp: 'bf 3/27/2008 15:30'! unmount: mountpointIdString "Returns nothing." "Automatically generated" ^self dbusPerform: 'unmount' interface: 'org.laptop.sugar.DataStore' withArguments: { DBusArgument value: mountpointIdString signature: 's'.}! ! !SugarDataStore methodsFor: 'org.laptop.sugar.DataStore' stamp: 'bf 3/27/2008 15:30'! update: uidString with: propsDictionary with: filelikeString with: transferOwnershipBoolean "Returns nothing." "Automatically generated" ^self dbusPerform: 'update' interface: 'org.laptop.sugar.DataStore' withArguments: { DBusArgument value: uidString signature: 's'. DBusArgument value: propsDictionary signature: 'a{sv}'. DBusArgument value: filelikeString signature: 's'. DBusArgument value: transferOwnershipBoolean signature: 'b'.}! ! !SugarDataStore class methodsFor: 'accessing' stamp: 'bf 3/27/2008 17:28'! dbusConnection ^DBus sessionBus! ! !SugarDataStore class methodsFor: 'accessing' stamp: 'bf 3/3/2008 17:54'! dbusName ^'org.laptop.sugar.DataStore'! ! !SugarDataStore class methodsFor: 'accessing' stamp: 'bf 3/3/2008 17:54'! dbusPath ^'/org/laptop/sugar/DataStore'! ! !SugarJournal methodsFor: 'org.laptop.Journal' stamp: 'bf 3/27/2008 15:30'! chooseObject: parentXidInt32 "Returns aString 's'." "Automatically generated" ^self dbusPerform: 'ChooseObject' interface: 'org.laptop.Journal' withArguments: { DBusArgument value: parentXidInt32 signature: 'i'.}! ! !SugarJournal methodsFor: 'org.laptop.Journal' stamp: 'bf 3/27/2008 15:30'! focusSearch: searchDictDictionary "Returns nothing." "Automatically generated" ^self dbusPerform: 'FocusSearch' interface: 'org.laptop.Journal' withArguments: { DBusArgument value: searchDictDictionary signature: 'a{sv}'.}! ! !SugarJournal methodsFor: 'org.laptop.Journal' stamp: 'bf 3/27/2008 15:30'! showObject: objectIdString "Returns nothing." "Automatically generated" ^self dbusPerform: 'ShowObject' interface: 'org.laptop.Journal' withArguments: { DBusArgument value: objectIdString signature: 's'.}! ! !SugarJournal class methodsFor: 'accessing' stamp: 'bf 3/27/2008 17:28'! dbusConnection ^DBus sessionBus! ! !SugarJournal class methodsFor: 'accessing' stamp: 'bf 3/7/2008 16:57'! dbusName ^'org.laptop.Journal'! ! !SugarJournal class methodsFor: 'accessing' stamp: 'bf 3/7/2008 16:53'! dbusPath ^'/org/laptop/Journal'! ! !SugarPresence methodsFor: 'org.laptop.Sugar.Presence' stamp: 'bf 3/27/2008 16:48'! getActivities "Returns anArrayOfObjectPaths 'ao'." "Automatically generated" ^self dbusPerform: 'GetActivities' interface: 'org.laptop.Sugar.Presence'! ! !SugarPresence methodsFor: 'org.laptop.Sugar.Presence' stamp: 'bf 3/27/2008 16:48'! getActivityById: actidString "Returns anObjectPath 'o'." "Automatically generated" ^self dbusPerform: 'GetActivityById' interface: 'org.laptop.Sugar.Presence' withArguments: { DBusArgument value: actidString signature: 's'.}! ! !SugarPresence methodsFor: 'org.laptop.Sugar.Presence' stamp: 'bf 3/27/2008 16:48'! getBuddies "Returns anArrayOfObjectPaths 'ao'." "Automatically generated" ^self dbusPerform: 'GetBuddies' interface: 'org.laptop.Sugar.Presence'! ! !SugarPresence methodsFor: 'org.laptop.Sugar.Presence' stamp: 'bf 3/27/2008 16:48'! getBuddyByPublicKey: keyArrayOfBytes "Returns anObjectPath 'o'." "Automatically generated" ^self dbusPerform: 'GetBuddyByPublicKey' interface: 'org.laptop.Sugar.Presence' withArguments: { DBusArgument value: keyArrayOfBytes signature: 'ay'.}! ! !SugarPresence methodsFor: 'org.laptop.Sugar.Presence' stamp: 'bf 3/27/2008 16:48'! getBuddyByTelepathyHandle: tpConnNameString with: tpConnPathObjectPath with: handleUint32 "Returns anObjectPath 'o'." "Automatically generated" ^self dbusPerform: 'GetBuddyByTelepathyHandle' interface: 'org.laptop.Sugar.Presence' withArguments: { DBusArgument value: tpConnNameString signature: 's'. DBusArgument value: tpConnPathObjectPath signature: 'o'. DBusArgument value: handleUint32 signature: 'u'.}! ! !SugarPresence methodsFor: 'org.laptop.Sugar.Presence' stamp: 'bf 3/27/2008 16:48'! getOwner "Returns anObjectPath 'o'." "Automatically generated" ^self dbusPerform: 'GetOwner' interface: 'org.laptop.Sugar.Presence'! ! !SugarPresence methodsFor: 'org.laptop.Sugar.Presence' stamp: 'bf 3/27/2008 16:48'! getPreferredConnection "Returns aString 's' and anObjectPath 'o'." "Automatically generated" ^self dbusPerform: 'GetPreferredConnection' interface: 'org.laptop.Sugar.Presence'! ! !SugarPresence methodsFor: 'org.laptop.Sugar.Presence' stamp: 'bf 3/27/2008 16:48'! shareActivity: actidString with: atypeString with: nameString with: propertiesDictionary "Returns anObjectPath 'o'." "Automatically generated" ^self dbusPerform: 'ShareActivity' interface: 'org.laptop.Sugar.Presence' withArguments: { DBusArgument value: actidString signature: 's'. DBusArgument value: atypeString signature: 's'. DBusArgument value: nameString signature: 's'. DBusArgument value: propertiesDictionary signature: 'a{sv}'.}! ! !SugarPresence methodsFor: 'org.laptop.Sugar.Presence' stamp: 'bf 3/27/2008 16:48'! syncFriends: keysArrayOfStrings "Returns nothing." "Automatically generated" ^self dbusPerform: 'SyncFriends' interface: 'org.laptop.Sugar.Presence' withArguments: { DBusArgument value: keysArrayOfStrings signature: 'as'.}! ! !SugarPresence class methodsFor: 'accessing' stamp: 'bf 3/27/2008 17:28'! dbusConnection ^DBus sessionBus! ! !SugarPresence class methodsFor: 'accessing' stamp: 'bf 3/3/2008 18:25'! dbusName ^'org.laptop.Sugar.Presence'! ! !SugarPresence class methodsFor: 'accessing' stamp: 'bf 3/3/2008 18:25'! dbusPath ^'/org/laptop/Sugar/Presence'! ! !SugarPresenceActivity methodsFor: 'org.laptop.Sugar.Presence.Activity' stamp: 'bf 3/27/2008 16:48'! getChannels "Returns aString 's' and anObjectPath 'o' and anArrayOfObjectPaths 'ao'." "Automatically generated" ^self dbusPerform: 'GetChannels' interface: 'org.laptop.Sugar.Presence.Activity'! ! !SugarPresenceActivity methodsFor: 'org.laptop.Sugar.Presence.Activity' stamp: 'bf 3/27/2008 16:48'! getColor "Returns aString 's'." "Automatically generated" ^self dbusPerform: 'GetColor' interface: 'org.laptop.Sugar.Presence.Activity'! ! !SugarPresenceActivity methodsFor: 'org.laptop.Sugar.Presence.Activity' stamp: 'bf 3/27/2008 16:48'! getId "Returns aString 's'." "Automatically generated" ^self dbusPerform: 'GetId' interface: 'org.laptop.Sugar.Presence.Activity'! ! !SugarPresenceActivity methodsFor: 'org.laptop.Sugar.Presence.Activity' stamp: 'bf 3/27/2008 16:48'! getJoinedBuddies "Returns anArrayOfObjectPaths 'ao'." "Automatically generated" ^self dbusPerform: 'GetJoinedBuddies' interface: 'org.laptop.Sugar.Presence.Activity'! ! !SugarPresenceActivity methodsFor: 'org.laptop.Sugar.Presence.Activity' stamp: 'bf 3/27/2008 16:48'! getName "Returns aString 's'." "Automatically generated" ^self dbusPerform: 'GetName' interface: 'org.laptop.Sugar.Presence.Activity'! ! !SugarPresenceActivity methodsFor: 'org.laptop.Sugar.Presence.Activity' stamp: 'bf 3/27/2008 16:48'! getProperties "Returns aDictionary 'a{sv}'." "Automatically generated" ^self dbusPerform: 'GetProperties' interface: 'org.laptop.Sugar.Presence.Activity'! ! !SugarPresenceActivity methodsFor: 'org.laptop.Sugar.Presence.Activity' stamp: 'bf 3/27/2008 16:48'! getType "Returns aString 's'." "Automatically generated" ^self dbusPerform: 'GetType' interface: 'org.laptop.Sugar.Presence.Activity'! ! !SugarPresenceActivity methodsFor: 'org.laptop.Sugar.Presence.Activity' stamp: 'bf 3/27/2008 16:48'! invite: buddyPathObjectPath with: messageString "Returns nothing." "Automatically generated" ^self dbusPerform: 'Invite' interface: 'org.laptop.Sugar.Presence.Activity' withArguments: { DBusArgument value: buddyPathObjectPath signature: 'o'. DBusArgument value: messageString signature: 's'.}! ! !SugarPresenceActivity methodsFor: 'org.laptop.Sugar.Presence.Activity' stamp: 'bf 3/27/2008 16:48'! join "Returns nothing." "Automatically generated" ^self dbusPerform: 'Join' interface: 'org.laptop.Sugar.Presence.Activity'! ! !SugarPresenceActivity methodsFor: 'org.laptop.Sugar.Presence.Activity' stamp: 'bf 3/27/2008 16:48'! leave "Returns nothing." "Automatically generated" ^self dbusPerform: 'Leave' interface: 'org.laptop.Sugar.Presence.Activity'! ! !SugarPresenceActivity methodsFor: 'org.laptop.Sugar.Presence.Activity' stamp: 'bf 3/27/2008 16:48'! setProperties: newPropsDictionary "Returns nothing." "Automatically generated" ^self dbusPerform: 'SetProperties' interface: 'org.laptop.Sugar.Presence.Activity' withArguments: { DBusArgument value: newPropsDictionary signature: 'a{sv}'.}! ! !SugarPresenceActivity class methodsFor: 'accessing' stamp: 'bf 3/27/2008 17:28'! dbusConnection ^DBus sessionBus! ! !SugarPresenceActivity class methodsFor: 'accessing' stamp: 'bf 3/14/2008 19:12'! dbusName ^'org.laptop.Sugar.Presence'! ! !SugarPresenceActivity class methodsFor: 'accessing' stamp: 'bf 3/14/2008 19:12'! dbusPath ^'/org/laptop/Sugar/Presence/Activities/*'! ! !SugarPresenceBuddy methodsFor: 'org.laptop.Sugar.Presence.Buddy' stamp: 'bf 3/27/2008 16:48'! getIcon "Returns anArrayOfBytes 'ay'." "Automatically generated" ^self dbusPerform: 'GetIcon' interface: 'org.laptop.Sugar.Presence.Buddy'! ! !SugarPresenceBuddy methodsFor: 'org.laptop.Sugar.Presence.Buddy' stamp: 'bf 3/27/2008 16:48'! getJoinedActivities "Returns anArrayOfObjectPaths 'ao'." "Automatically generated" ^self dbusPerform: 'GetJoinedActivities' interface: 'org.laptop.Sugar.Presence.Buddy'! ! !SugarPresenceBuddy methodsFor: 'org.laptop.Sugar.Presence.Buddy' stamp: 'bf 3/27/2008 16:48'! getProperties "Returns aDictionary 'a{sv}'." "Automatically generated" ^self dbusPerform: 'GetProperties' interface: 'org.laptop.Sugar.Presence.Buddy'! ! !SugarPresenceBuddy methodsFor: 'org.laptop.Sugar.Presence.Buddy' stamp: 'bf 3/27/2008 16:48'! getTelepathyHandles "Returns anArrayOfStructs 'a(sou)'." "Automatically generated" ^self dbusPerform: 'GetTelepathyHandles' interface: 'org.laptop.Sugar.Presence.Buddy'! ! !SugarPresenceBuddy class methodsFor: 'accessing' stamp: 'bf 3/27/2008 17:28'! dbusConnection ^DBus sessionBus! ! !SugarPresenceBuddy class methodsFor: 'accessing' stamp: 'bf 3/14/2008 19:06'! dbusName ^'org.laptop.Sugar.Presence'! ! !SugarPresenceBuddy class methodsFor: 'accessing' stamp: 'bf 3/14/2008 19:10'! dbusPath ^'/org/laptop/Sugar/Presence/Buddies/*'! !