X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=RooProject.vala;h=b46ee7df5f1a1ccb505a10f4466513c1bf6ed50d;hb=86507c7767e5121491791c21b5443005e3eb063a;hp=448bd9a3daff8d028b22152480b5350141aa518f;hpb=a3718ade1e5a6386806881adfd932f3e38f9aa25;p=gitlive diff --git a/RooProject.vala b/RooProject.vala index 448bd9a3..b46ee7df 100644 --- a/RooProject.vala +++ b/RooProject.vala @@ -1,8 +1,22 @@ +/** +This a mostly a static class that manages an array of it'self... +*/ static RooProject _RooProject; public class RooProject : Object { + + public string id; // not really important that they are numbers.. + public string code; + public string name; + public string type; + + + // --- static from here on.... + + + static Gee.ArrayList _projects; static int loadcount = 0; const string roourl = "https://roojs.com/admin.php/Roo"; @@ -19,11 +33,6 @@ public class RooProject : Object return _RooProject; } - public string id; // not really important that they are numbers.. - public string code; - public string name; - public string type; - public static Gee.ArrayList projects() {