imagecollectionshared.h

Go to the documentation of this file.
00001 /* ============================================================
00002  * File   : imagecollectionshared.h
00003  * Authors: KIPI team developers (see AUTHORS files for details)
00004  *          
00005  * Date   : 2004-02
00006  * Description :
00007  *
00008  * Copyright 2004 by the KIPI team
00009  * 
00010  * This program is free software; you can redistribute it
00011  * and/or modify it under the terms of the GNU Library General
00012  * Public License as published by the Free Software Foundation;
00013  * either version 2, or (at your option)
00014  * 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 Library General Public License for more details.
00020  *
00021  * ============================================================ */
00022  
00023 #ifndef KIPI_IMAGECOLLECTIONSHARED_H
00024 #define KIPI_IMAGECOLLECTIONSHARED_H
00025 
00026 // Qt Includes.
00027 
00028 #include <qstring.h>
00029 #include <qdatetime.h>
00030 
00031 // KDE includes.
00032 
00033 #include <kurl.h>
00034 
00035 // Local includes.
00036 
00037 #include "imagecollection.h"
00038 #include "libkipi/libkipi_export.h"
00039 
00040 namespace KIPI
00041 {
00042     class LIBKIPI_EXPORT ImageCollectionShared
00043     {
00044     public:
00045         ImageCollectionShared();
00046         virtual ~ImageCollectionShared() {}
00047         virtual QString name() = 0;
00048         virtual QString comment();
00049         virtual QString category();
00050         virtual QDate date();
00051         virtual KURL::List images() = 0;
00052         virtual KURL path();
00053         virtual KURL uploadPath();
00054         virtual KURL uploadRoot();
00055         virtual QString uploadRootName();
00056         virtual bool isDirectory();
00057         virtual bool operator==(ImageCollectionShared&);
00058 
00059     private:
00060         friend class ImageCollection;
00061         void addRef();
00062         void removeRef();
00063         int _count;
00064     };
00065 }
00066 
00067 #endif /* IMAGECOLLECTIONSHARED_H */
00068 

Generated on Tue Sep 25 22:34:22 2007 for libKipi by  doxygen 1.5.3