src/Resources.vala
authorAlan Knowles <alan@roojs.com>
Wed, 22 Apr 2015 09:23:07 +0000 (17:23 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 22 Apr 2015 09:23:07 +0000 (17:23 +0800)
src/Resources.vala

index 0390711..d28a9ac 100644 (file)
@@ -20,6 +20,9 @@ public class Resources : Object
      public signal void updateProgress(uint cur_pos);
 
      static Resources singleton_val;
+     
+     string[] avail_files;
+     
      public static Resources singleton()
      {
         if (singleton_val == null) {
@@ -28,7 +31,20 @@ public class Resources : Object
         return singleton_val;
             
      }
-
+        public Resources ()
+        {
+                
+                  string[] res = { 
+                               "bootstrap.builder.html",
+                               "roo.builder.html",
+                               "roo.builder.js",
+                               "Gir.overides",
+                               "RooUsage.txt",
+                               "GtkUsage.txt"
+                       };
+                       
+                
+                
     
      uint fetch_pos = 0;
      public void fetchStart()
@@ -45,6 +61,11 @@ public class Resources : Object
         var cur = this.fetch_pos;
         this.fetch_pos++;
         this.updateProgress(this.fetch_pos); // min=0;
+        
+        
+        
+        
+        
         switch (cur) {
                case 0: // html for rendering Bootstrap apps.
                     this.fetchResourceFrom (