author | llornkcor <llornkcor> | 2002-06-25 01:46:34 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-06-25 01:46:34 (UTC) |
commit | 4bf0efd9f4c6963b48be4a7b836a3c1c46431814 (patch) (side-by-side diff) | |
tree | c58bff748d51ef18e82c34b310b2b26462223a94 /noncore/styles/metal/plugin.cpp | |
parent | 2da629c52c3cbfebff7b314b8668ccd579bb6742 (diff) | |
download | opie-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.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 @@ +#include "metal.h" + + +extern "C" { + QStyle* allocate ( ); + int minor_version ( ); + int major_version ( ); + const char *description ( ); +} + +QStyle* allocate ( ) +{ + return new MetalStyle ( ); +} + +int minor_version ( ) +{ + return 0; +} + +int major_version ( ) +{ + return 1; +} + +const char *description ( ) +{ + return "Metal style plugin"; +} |