summaryrefslogtreecommitdiffstats
path: root/ksquirrel/sidebar/sq_storagefile.h
blob: 6e0b8c470b0228be1111b35eed7414de401dd2f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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