TDE core libraries
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

plugin.cpp 392B

1234567891011121314151617181920212223242526272829
  1. #include "klegacystyle.h"
  2. #include <tdelocale.h>
  3. extern "C" {
  4. TDEStyle* allocate();
  5. int minor_version();
  6. int major_version();
  7. const char *description();
  8. }
  9. TDEStyle* allocate()
  10. {
  11. return(new KLegacyStyle());
  12. }
  13. int minor_version()
  14. {
  15. return(0);
  16. }
  17. int major_version()
  18. {
  19. return(1);
  20. }
  21. const char *description()
  22. {
  23. return(i18n("KDE LegacyStyle plugin").utf8());
  24. }