summaryrefslogtreecommitdiffstats
path: root/tdestyles/klegacy/plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdestyles/klegacy/plugin.cpp')
-rw-r--r--tdestyles/klegacy/plugin.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/tdestyles/klegacy/plugin.cpp b/tdestyles/klegacy/plugin.cpp
new file mode 100644
index 000000000..558b54e73
--- /dev/null
+++ b/tdestyles/klegacy/plugin.cpp
@@ -0,0 +1,29 @@
+#include "klegacystyle.h"
+#include <tdelocale.h>
+
+extern "C" {
+ TDEStyle* allocate();
+ int minor_version();
+ int major_version();
+ const char *description();
+}
+
+TDEStyle* allocate()
+{
+ return(new KLegacyStyle());
+}
+
+int minor_version()
+{
+ return(0);
+}
+
+int major_version()
+{
+ return(1);
+}
+
+const char *description()
+{
+ return(i18n("KDE LegacyStyle plugin").utf8());
+}