projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04cada4
)
src/Resources.vala
author
Alan Knowles
<alan@roojs.com>
Sun, 15 Mar 2015 04:32:15 +0000
(12:32 +0800)
committer
Alan Knowles
<alan@roojs.com>
Sun, 15 Mar 2015 04:32:15 +0000
(12:32 +0800)
src/Resources.vala
patch
|
blob
|
history
diff --git
a/src/Resources.vala
b/src/Resources.vala
index
350eefc
..
fb6d0f8
100644
(file)
--- a/
src/Resources.vala
+++ b/
src/Resources.vala
@@
-19,6
+19,16
@@
public class Resources : Object
delegate void updateProgress(uint cur_pos);
+ static Resources singleton_val;
+ static Resources singleton()
+ {
+ if (singleton_val != null) {
+ singleton_val = new Resources();
+ }
+ return singleton_val;
+
+ }
+
uint fetch_pos = 0;
public void fetchStart()