summaryrefslogtreecommitdiff
path: root/src/privatefragment.h
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2008-08-18 15:32:31 +0200
committerDennis kasprzyk <onestone@opencompositing.org>2008-08-18 15:32:31 +0200
commit79d78d3f60e683411a075fe44fe4ab862d0fadc6 (patch)
treed970c542e2a67264ac6ca61ba814f6b44408b255 /src/privatefragment.h
parentfa7e9361989282eddfc3012ffc392fadebf2b3c5 (diff)
downloadcompiz-with-glib-mainloop-79d78d3f60e683411a075fe44fe4ab862d0fadc6.tar.gz
compiz-with-glib-mainloop-79d78d3f60e683411a075fe44fe4ab862d0fadc6.tar.bz2
Fragment interface C++ port (not tested).
Diffstat (limited to 'src/privatefragment.h')
-rw-r--r--src/privatefragment.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/privatefragment.h b/src/privatefragment.h
new file mode 100644
index 0000000..bab11bc
--- /dev/null
+++ b/src/privatefragment.h
@@ -0,0 +1,25 @@
+#ifndef _PRIVATEFRAGMENT_H
+#define _PRIVATEFRAGMENT_H
+
+#include <compfragment.h>
+
+namespace CompFragment {
+
+ class Function;
+ class Program;
+
+ class Storage {
+ public:
+ Storage ();
+ ~Storage ();
+
+ public:
+ int lastFunctionId;
+ std::vector<Function *> functions;
+ std::vector<Program *> programs;
+
+ FunctionId saturateFunction[2][64];
+ };
+};
+
+#endif