1 /***************************************************************************
2              documentsaverbase  - Base class of a document save class
3                              -------------------
4     begin                : 2006-02-21
5     copyright            : (C) 2005 by Klaas Freitag
6     email                : freitag@kde.org
7  ***************************************************************************/
8 
9 /***************************************************************************
10  *                                                                         *
11  *   This program is free software; you can redistribute it and/or modify  *
12  *   it under the terms of the GNU General Public License as published by  *
13  *   the Free Software Foundation; either version 2 of the License, or     *
14  *   (at your option) any later version.                                   *
15  *                                                                         *
16  ***************************************************************************/
17 
18 #ifndef _DOCUMENTSAVERBASE_H
19 #define _DOCUMENTSAVERBASE_H
20 
21 // include files
22 #include <qobject.h>
23 
24 /**
25  *
26  */
27 class KraftDoc;
28 class dbID;
29 
30 class DocumentSaverBase : public QObject
31 {
32   Q_OBJECT
33 
34 public:
35   DocumentSaverBase();
36   virtual ~DocumentSaverBase();
37 
38   virtual bool saveDocument( KraftDoc* ) = 0;
39   virtual void load( const QString&, KraftDoc * ) = 0;
40 };
41 
42 #endif
43 
44 /* END */
45 
46