kpilot

hhtopcstate.h

Go to the documentation of this file.
00001 #ifndef _KPILOT_HHTOPCSTATE_H
00002 #define _KPILOT_HHTOPCSTATE_H
00003 /* hhtopcstate.h                       KPilot
00004 **
00005 ** Copyright (C) 2006 Bertjan Broeksema
00006 **
00007 ** This file defines the teststate for vcal-conduitbase.
00008 */
00009 
00010 /*
00011 ** This program is free software; you can redistribute it and/or modify
00012 ** it under the terms of the GNU General Public License as published by
00013 ** the Free Software Foundation; either version 2 of the License, or
00014 ** (at your option) any later version.
00015 **
00016 ** This program is distributed in the hope that it will be useful,
00017 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
00018 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00019 ** GNU General Public License for more details.
00020 **
00021 ** You should have received a copy of the GNU General Public License
00022 ** along with this program in a file called COPYING; if not, write to
00023 ** the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
00024 ** MA 02110-1301, USA.
00025 */
00026 
00027 /*
00028 ** Bug reports and questions can be sent to kde-pim@kde.org
00029 */
00030 
00031 #include <libkcal/calendarlocal.h>
00032 
00033 #include "conduitstate.h"
00034 
00035 class VCalConduitBase;
00036 
00040 class HHToPCState : public ConduitState
00041 {
00042 private:
00043     ConduitState *fNextState;
00044     int fPilotindex;
00045 
00046 public:
00047     HHToPCState();
00048     virtual ~HHToPCState();
00049 
00050     virtual void startSync( ConduitAction* );
00051     virtual void handleRecord( ConduitAction* );
00052     virtual void finishSync( ConduitAction* );
00053 };
00054 
00055 #endif