KNemo – network interfaces monitor for systray
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.

62 lines
2.2KB

  1. /* This file is part of KNemo
  2. Copyright (C) 2006 Percy Leonhardt <percy@eris23.de>
  3. KNemo is free software; you can redistribute it and/or modify
  4. it under the terms of the GNU Library General Public License as
  5. published by the Free Software Foundation; either version 2 of
  6. the License, or (at your option) any later version.
  7. KNemo is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU Library General Public License for more details.
  11. You should have received a copy of the GNU Library General Public License
  12. along with this library; see the file COPYING.LIB. If not, write to
  13. the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  14. Boston, MA 02110-1301, USA.
  15. */
  16. #ifndef KCMREGISTRY_H
  17. #define KCMREGISTRY_H
  18. #include <tqstring.h>
  19. #include <tdelocale.h>
  20. /**
  21. * This registry tells the KCM module what backends are available
  22. * and how they can be created. It also offers a short description
  23. * for every backend that is used in the configuration dialog of KNemo.
  24. * It should describe how a backend gathers its information.
  25. *
  26. * @short Registry for all backends
  27. * @author Percy Leonhardt <percy@eris23.de>
  28. */
  29. struct KCMRegistryEntry
  30. {
  31. TQString name;
  32. TQString description;
  33. };
  34. KCMRegistryEntry KCMRegistry[] =
  35. {
  36. { "Nettools",
  37. i18n( "Uses the tools from the nettool packge like ifconfig, " \
  38. "iwconfig and route to read the necessary information " \
  39. "from the ouput of these commands.\n" \
  40. "This backend works rather stable but causes a relativly " \
  41. "high CPU load." ) },
  42. { "Sys",
  43. i18n( "Uses the sys filesystem available in 2.6 kernels and " \
  44. "direct system calls to the Linux kernel.\n" \
  45. "This backend is rather new, so expect minor problems. " \
  46. "As an advantage this backend should reduce the CPU load " \
  47. "and should not access the harddisc while gathering " \
  48. "information." ) },
  49. { TQString(), TQString() }
  50. };
  51. #endif // KCMREGISTRY_H