Diffstat (limited to 'noncore/styles/metal/plugin.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/styles/metal/plugin.cpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/noncore/styles/metal/plugin.cpp b/noncore/styles/metal/plugin.cpp new file mode 100644 index 0000000..e5bee10 --- a/dev/null +++ b/noncore/styles/metal/plugin.cpp | |||
@@ -0,0 +1,29 @@ | |||
1 | #include "metal.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 MetalStyle ( ); | ||
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 "Metal style plugin"; | ||
29 | } | ||