Features/SimpleActivity: Difference between revisions
| Line 11: | Line 11: | ||
== Detailed Description == | == Detailed Description == | ||
We have a lot of repeated | We have a lot of repeated code across our activities and some commonalities that can be consolidated. Also, why not make some things simpler, like creating the toolbar automatically with an activity icon. | ||
Also | |||
You just | Also included in this feature is SharedActivity, which is a class that derives from SimpleActivity, and does all the collaboration process by itself: you don't have to worry about dbus, tubes, telepathy, even about the service, path or interface name. SharedActivity will do everything for you. | ||
You just define a list of "events" with the respective callbacks to execute when an event is received, and then start sending events! | |||
== Benefit to Sugar == | == Benefit to Sugar == | ||