X-Git-Url: http://git.roojs.org/?p=gitlive;a=blobdiff_plain;f=Monitor.vala;h=1b5c4997864b2e2698c39414bef8ad4ad9ee5955;hp=d86d99d71fe4379529c4005368b28b4666fa1551;hb=43b29bb4bbe76f64630ebfbdc6cc77aa61960058;hpb=69e9a65fbddc9630102c4bfdc8974777ae46150b diff --git a/Monitor.vala b/Monitor.vala index d86d99d7..1b5c4997 100644 --- a/Monitor.vala +++ b/Monitor.vala @@ -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);