summaryrefslogtreecommitdiff
path: root/noncore/styles/metal/plugin.cpp
authorllornkcor <llornkcor>2002-06-25 01:46:34 (UTC)
committer llornkcor <llornkcor>2002-06-25 01:46:34 (UTC)
commit4bf0efd9f4c6963b48be4a7b836a3c1c46431814 (patch) (unidiff)
treec58bff748d51ef18e82c34b310b2b26462223a94 /noncore/styles/metal/plugin.cpp
parent2da629c52c3cbfebff7b314b8668ccd579bb6742 (diff)
downloadopie-4bf0efd9f4c6963b48be4a7b836a3c1c46431814.zip
opie-4bf0efd9f4c6963b48be4a7b836a3c1c46431814.tar.gz
opie-4bf0efd9f4c6963b48be4a7b836a3c1c46431814.tar.bz2
took about 3 minutes to add, so.. what the heck..
Diffstat (limited to 'noncore/styles/metal/plugin.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/styles/metal/plugin.cpp29
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
4extern "C" {
5 QStyle* allocate ( );
6 int minor_version ( );
7 int major_version ( );
8 const char *description ( );
9}
10
11QStyle* allocate ( )
12{
13 return new MetalStyle ( );
14}
15
16int minor_version ( )
17{
18 return 0;
19}
20
21int major_version ( )
22{
23 return 1;
24}
25
26const char *description ( )
27{
28 return "Metal style plugin";
29}