zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #03886
[Branch ~zeitgeist/zeitgeist/bluebird] Rev 216: Space fixes and delete a duplicate (in wrong place) comment.
------------------------------------------------------------
revno: 216
committer: Siegfried-Angel Gevatter Pujals <siegfried@xxxxxxxxxxxx>
branch nick: bluebird
timestamp: Fri 2011-09-02 18:11:42 +0200
message:
Space fixes and delete a duplicate (in wrong place) comment.
modified:
src/engine.vala
src/extension-collection.vala
src/extension.vala
--
lp:~zeitgeist/zeitgeist/bluebird
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird
Your team Zeitgeist Framework Team is subscribed to branch lp:~zeitgeist/zeitgeist/bluebird.
To unsubscribe from this branch go to https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'src/engine.vala'
--- src/engine.vala 2011-09-02 15:45:48 +0000
+++ src/engine.vala 2011-09-02 16:11:42 +0000
@@ -351,7 +351,7 @@
* and `result_storage_state` are returned.
*/
//FIXME: implement calculation
- if (result_type == ResultType.MOST_RECENT_EVENTS ||
+ if (result_type == ResultType.MOST_RECENT_EVENTS ||
result_type == ResultType.LEAST_RECENT_EVENTS)
{
=== modified file 'src/extension-collection.vala'
--- src/extension-collection.vala 2011-09-01 16:54:26 +0000
+++ src/extension-collection.vala 2011-09-02 16:11:42 +0000
@@ -19,21 +19,6 @@
namespace Zeitgeist
{
- /**
- * Base class for all extensions
- *
- * FIXME: figure out what to do with this. I don't really see
- * what the point for it is, since D-Bus accessible stuff is
- * usually exported on a new interface. --RainCT
- * Every extension has to define a list of accessible methods as
- * 'PUBLIC_METHODS'. The constructor of an Extension object takes the
- * engine object it extends as the only argument.
- * ---
- *
- * In addition each extension has a set of hooks to control how events are
- * inserted and retrieved from the log. These hooks can either block the
- * event completely, modify it, or add additional metadata to it.
- */
public class ExtensionCollection : Object
{
private GenericArray<Extension> extensions;
=== modified file 'src/extension.vala'
--- src/extension.vala 2011-08-31 12:15:31 +0000
+++ src/extension.vala 2011-09-02 16:11:42 +0000
@@ -39,14 +39,14 @@
{
/**
* This method gets called before Zeitgeist stops.
- *
+ *
* Execution of this method isn't guaranteed, and you shouldn't do
* anything slow in there.
*/
public virtual void unload ()
{
}
-
+
/**
* Hook applied to all events before they are inserted into the
* log. The returned event is progressively passed through all
@@ -68,10 +68,10 @@
{
return events;
}
-
+
/**
* Hook applied to all events after they are inserted into the log.
- *
+ *
* @param event: A Event instance
* @param sender: The D-Bus bus name of the client
* @returns: Nothing
@@ -80,7 +80,7 @@
BusName sender)
{
}
-
+
/**
* Hook applied after events have been deleted from the log.
*
@@ -91,7 +91,7 @@
public virtual void post_delete_events (uint32[] ids, BusName sender)
{
}
-
+
/**
* Hook applied before events are deleted from the log.
*
@@ -206,7 +206,7 @@
extension_type = Type.INVALID;
return false;
}
-
+
// according to docs initialized TypeModule is not supposed
// to be unreferenced, so we do this
this.ref ();