~ubuntu-branches/ubuntu/maverick/knemo/maverick

« back to all changes in this revision

Viewing changes to src/knemod/backends/kcmregistry.h

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2010-01-06 17:16:51 UTC
  • mfrom: (1.1.9 upstream) (2.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20100106171651-ff58ryfnav4l1zbm
Tags: 0.6.0-1
* New upstream release 
  - Fixes "FTBFS: sysbackend.cpp:362: error: 'KILO' was not declared in
  this scope" (Closes: #560496)
  - Fixes "context menu does not appear" (Closes: #504791)
* Add Build-Depends: libnl-dev - Linux netlink sockets library

Show diffs side-by-side

added added

removed removed

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