kpilot

mal-conduit.h

Go to the documentation of this file.
00001 #ifndef _MAL_CONDUIT_H
00002 #define _MAL_CONDUIT_H
00003 /* mal-conduit.h                           KPilot
00004 **
00005 ** Copyright (C) 2002 by Reinhold Kainhofer
00006 **
00007 */
00008 
00009 /*
00010 ** This program is free software; you can redistribute it and/or modify
00011 ** it under the terms of the GNU General Public License as published by
00012 ** the Free Software Foundation; either version 2 of the License, or
00013 ** (at your option) any later version.
00014 **
00015 ** This program is distributed in the hope that it will be useful,
00016 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
00017 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00018 ** GNU General Public License for more details.
00019 **
00020 ** You should have received a copy of the GNU General Public License
00021 ** along with this program in a file called COPYING; if not, write to
00022 ** the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
00023 ** MA 02110-1301, USA.
00024 **
00025 **
00026 ** Specific permission is granted for this code to be linked to libmal
00027 ** (this is necessary because the libmal license is not GPL-compatible).
00028 */
00029 
00030 /*
00031 ** Bug reports and questions can be sent to kde-pim@kde.org
00032 */
00033 
00034 
00035 
00036 #include <plugin.h>
00037 
00038 class MALConduit : public ConduitAction
00039 {
00040 Q_OBJECT
00041 public:
00042     MALConduit(
00043         KPilotLink *o,
00044         const char *n = 0L,
00045         const QStringList &a = QStringList() );
00046     virtual ~MALConduit();
00047     void printLogMessage(QString msg);
00048     virtual bool exec();
00049 
00050 protected:
00054     void readConfig();
00058     void saveConfig();
00062     bool skip();
00063 } ;
00064 
00065 
00066 #endif