summaryrefslogtreecommitdiffstats
path: root/src/tdeioslave/digikamdates.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tdeioslave/digikamdates.h')
-rw-r--r--src/tdeioslave/digikamdates.h54
1 files changed, 54 insertions, 0 deletions
diff --git a/src/tdeioslave/digikamdates.h b/src/tdeioslave/digikamdates.h
new file mode 100644
index 00000000..4ba75749
--- /dev/null
+++ b/src/tdeioslave/digikamdates.h
@@ -0,0 +1,54 @@
+/* ============================================================
+ *
+ * This file is a part of digiKam project
+ * http://www.digikam.org
+ *
+ * Date : 2005-04-21
+ * Description : a tdeio-slave to process date query on
+ * digiKam albums.
+ *
+ * Copyright (C) 2005 by Renchi Raju <[email protected]>
+ *
+ * This program is free software; you can redistribute it
+ * and/or modify it under the terms of the GNU General
+ * Public License as published by the Free Software Foundation;
+ * either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * ============================================================ */
+
+#ifndef DIGIKAMDATES_H
+#define DIGIKAMDATES_H
+
+// KDE includes.
+
+#include <tdeio/slavebase.h>
+
+// Local includes.
+
+#include "sqlitedb.h"
+
+class TQStringList;
+
+class tdeio_digikamdates : public TDEIO::SlaveBase
+{
+
+public:
+
+ tdeio_digikamdates(const TQCString &pool_socket,
+ const TQCString &app_socket);
+ ~tdeio_digikamdates();
+
+ void special(const TQByteArray& data);
+
+private:
+
+ SqliteDB m_db;
+ TQString m_libraryPath;
+};
+
+#endif /* DIGIKAMDATES_H */