author | sandman <sandman> | 2002-06-24 17:07:45 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-06-24 17:07:45 (UTC) |
commit | f284f40fe5912736666a56143705f260d14feb34 (patch) (unidiff) | |
tree | 2aa6dee5e26aaeffc3505ca0c536651bce09cfe6 /noncore/styles/liquid/plugin.cpp | |
parent | db5385bc16f56b4c5b84ad4a92ac6bdd46eea321 (diff) | |
download | opie-f284f40fe5912736666a56143705f260d14feb34.zip opie-f284f40fe5912736666a56143705f260d14feb34.tar.gz opie-f284f40fe5912736666a56143705f260d14feb34.tar.bz2 |
Inital checkin of liquid style for OPIE
Diffstat (limited to 'noncore/styles/liquid/plugin.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/styles/liquid/plugin.cpp | 29 |
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 @@ | |||
1 | #include "liquid.h" | ||
2 | |||
3 | |||
4 | extern "C" { | ||
5 | QStyle* allocate ( ); | ||
6 | int minor_version ( ); | ||
7 | int major_version ( ); | ||
8 | const char *description ( ); | ||
9 | } | ||
10 | |||
11 | QStyle* allocate ( ) | ||
12 | { | ||
13 | return new LiquidStyle ( ); | ||
14 | } | ||
15 | |||
16 | int minor_version ( ) | ||
17 | { | ||
18 | return 0; | ||
19 | } | ||
20 | |||
21 | int major_version ( ) | ||
22 | { | ||
23 | return 1; | ||
24 | } | ||
25 | |||
26 | const char *description ( ) | ||
27 | { | ||
28 | return "High performance liquid plugin"; | ||
29 | } | ||