sync
[gitlive] / Monitor.vala
index d86d99d..1b5c499 100644 (file)
@@ -68,7 +68,12 @@ public delegate void onEventHander (FileMonitor fm, File f_orig, File of_orig, F
  * 
  */
  
-public class Monitor : Object
+public abstract class gitMonitorBase : Object
+{
+       public abstract void monitor(string path, int depth = 0);
+} 
+public class Monitor : gitMonitorBase
 {
 
 
@@ -136,7 +141,7 @@ public class Monitor : Object
      * 
      * 
      */
-    public void monitor(string path, int depth = 0)
+    public override void monitor(string path, int depth = 0)
     {
          
         //GLib.debug("ADD: (%d): %s\n", depth, path);