For example, only editable sources will have a "Delete movie" button
in the movie menu.
public abstract unowned string get_name ();
public abstract unowned string get_description ();
+
+ public abstract bool get_editable ();
}
public class MovieAction : Object {
}
return description;
}
+
+ public override bool get_editable () {
+ return false;
+ }
}
[ModuleInit]
public override unowned string get_description () {
return "Movies on IMDb";
}
+
+ public override bool get_editable () {
+ return false;
+ }
}
[ModuleInit]