• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • libtdegames
 

libtdegames

  • libtdegames
  • highscore
tdeconfigrawbackend.h
1/*
2 This file is part of the TDE games library
3 Copyright (C) 2003 Nicolas Hadacek <hadacek@kde.org>
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public
7 License version 2 as published by the Free Software Foundation.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Library General Public License for more details.
13
14 You should have received a copy of the GNU Library General Public License
15 along with this library; see the file COPYING.LIB. If not, write to
16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 Boston, MA 02110-1301, USA.
18*/
19
20#ifndef _TDECONFIGRAWBACKEND_H
21#define _TDECONFIGRAWBACKEND_H
22
23#include <tqfile.h>
24
25#include <tdeconfigbackend.h>
26#include <ksimpleconfig.h>
27
28
29class TDEConfigRawBackEnd : public TDEConfigINIBackEnd
30{
31public:
32 TDEConfigRawBackEnd(TDEConfigBase *_config, int fd);
33 ~TDEConfigRawBackEnd();
34
35 bool parseConfigFiles();
36
37 void sync(bool bMerge = true);
38
39private:
40 int _fd;
41 FILE *_stream;
42 TQFile _file;
43
44 class TDEConfigRawBackEndPrivate;
45 TDEConfigRawBackEndPrivate *d;
46};
47
48class KRawConfig : public KSimpleConfig
49{
50 TQ_OBJECT
51
52public:
53 KRawConfig(int fd, bool readOnly)
54 : KSimpleConfig(new TDEConfigRawBackEnd(this, fd), readOnly) {}
55};
56
57
58#endif

libtdegames

Skip menu "libtdegames"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

libtdegames

Skip menu "libtdegames"
  • libtdegames
Generated for libtdegames by doxygen 1.9.4
This website is maintained by Timothy Pearson.