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"; +} |