RooProject.vala
authorAlan Knowles <alan@roojs.com>
Mon, 24 Dec 2018 07:17:58 +0000 (15:17 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 24 Dec 2018 07:17:58 +0000 (15:17 +0800)
RooProject.vala

index 7c009ed..b46ee7d 100644 (file)
@@ -6,6 +6,17 @@ This a mostly a static class that manages an array of it'self...
 static RooProject  _RooProject;
 public class RooProject  : Object 
 {
 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<RooProject> _projects;
        static int loadcount = 0;
        const string roourl = "https://roojs.com/admin.php/Roo";  
        static Gee.ArrayList<RooProject> _projects;
        static int loadcount = 0;
        const string roourl = "https://roojs.com/admin.php/Roo";  
@@ -22,11 +33,6 @@ public class RooProject  : Object
         return _RooProject;
     }
        
         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<RooProject> projects()
        {
        
        public static Gee.ArrayList<RooProject> projects()
        {