summaryrefslogtreecommitdiff
path: root/noncore/styles/liquid/plugin.cpp
Side-by-side diff
Diffstat (limited to 'noncore/styles/liquid/plugin.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/styles/liquid/plugin.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/noncore/styles/liquid/plugin.cpp b/noncore/styles/liquid/plugin.cpp
new file mode 100644
index 0000000..fca7c06
--- a/dev/null
+++ b/noncore/styles/liquid/plugin.cpp
@@ -0,0 +1,29 @@
+#include "liquid.h"
+
+
+extern "C" {
+ QStyle* allocate ( );
+ int minor_version ( );
+ int major_version ( );
+ const char *description ( );
+}
+
+QStyle* allocate ( )
+{
+ return new LiquidStyle ( );
+}
+
+int minor_version ( )
+{
+ return 0;
+}
+
+int major_version ( )
+{
+ return 1;
+}
+
+const char *description ( )
+{
+ return "High performance liquid plugin";
+}