summaryrefslogtreecommitdiffstats
path: root/src/sidebar/sq_storagefile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sidebar/sq_storagefile.h')
-rw-r--r--src/sidebar/sq_storagefile.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/sidebar/sq_storagefile.h b/src/sidebar/sq_storagefile.h
new file mode 100644
index 0000000..6e0b8c4
--- /dev/null
+++ b/src/sidebar/sq_storagefile.h
@@ -0,0 +1,34 @@
+/***************************************************************************
+ sq_storagefile.h - description
+ -------------------
+ begin : Sat Mar 3 2007
+ copyright : (C) 2007 by Baryshev Dmitry
+ email : ksquirrel.iv@gmail.com
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * 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 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+
+#ifndef SQ_STORAGEFILE_H
+#define SQ_STORAGEFILE_H
+
+#include <tqstring.h>
+
+#include <kurl.h>
+
+namespace SQ_StorageFile
+{
+ void writeStorageFile(const TQString &path, const KURL &inpath, KURL w = KURL());
+ void writeStorageFileAsString(const TQString &path, const KURL &inpath, TQString content = TQString());
+
+ KURL readStorageFile(const TQString &path);
+ TQString readStorageFileAsString(const TQString &path);
+};
+
+#endif