Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
superkaramba
superkaramba
superkaramba
src
textfilesensor.h
1
/*
2
* Copyright (C) 2003 Hans Karlsson <karlsson.h@home.se>
3
* Copyright (C) 2003-2004 Adam Geitgey <adam@rootnode.org>
4
* Copyright (c) 2005 Ryan Nickell <p0z3r@earthlink.net>
5
*
6
* This file is part of SuperKaramba.
7
*
8
* SuperKaramba is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation; either version 2 of the License, or
11
* (at your option) any later version.
12
*
13
* SuperKaramba is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with SuperKaramba; if not, write to the Free Software
20
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21
****************************************************************************/
22
#ifndef TEXTFILESENSOR_H
23
#define TEXTFILESENSOR_H
24
25
26
#include <sensor.h>
27
#include <tqfile.h>
28
#include <tqtextstream.h>
29
#include <tqstring.h>
30
#include <tqtextcodec.h>
31
#include <tqvaluevector.h>
36
class
TextFileSensor
:
public
Sensor
37
{
38
39
TQ_OBJECT
40
41
public
:
42
TextFileSensor
(
const
TQString &fileName,
bool
rdf,
int
interval,
const
TQString &encoding=TQString() );
43
44
~TextFileSensor
();
45
46
void
update();
47
48
private
:
49
TQTextCodec *codec;
50
TQString fileName;
51
bool
rdf;
52
};
53
54
#endif
// TEXTFILESENSOR_H
TextFileSensor
Hans Karlsson.
Definition:
textfilesensor.h:37
superkaramba
Skip menu "superkaramba"
Main Page
Alphabetical List
Class List
File List
Class Members
superkaramba
Skip menu "superkaramba"
kcalc
knumber
superkaramba