~ubuntu-branches/ubuntu/dapper/ksystemlog/dapper

« back to all changes in this revision

Viewing changes to ksystemlog/src/acpid/acpidReader.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2005-07-07 16:00:00 UTC
  • Revision ID: james.westby@ubuntu.com-20050707160000-a104d769ph3yfkg4
Tags: upstream-0.3.2
ImportĀ upstreamĀ versionĀ 0.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
 *   Copyright (C) 2005 by Nicolas Ternisien                               *
 
3
 *   nicolas.ternisien@gmail.com                                           *
 
4
 *                                                                         *
 
5
 *   This program is free software; you can redistribute it and/or modify  *
 
6
 *   it under the terms of the GNU General Public License as published by  *
 
7
 *   the Free Software Foundation; either version 2 of the License, or     *
 
8
 *   (at your option) any later version.                                   *
 
9
 *                                                                         *
 
10
 *   This program is distributed in the hope that it will be useful,       *
 
11
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 
12
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 
13
 *   GNU General Public License for more details.                          *
 
14
 *                                                                         *
 
15
 *   You should have received a copy of the GNU General Public License     *
 
16
 *   along with this program; if not, write to the                         *
 
17
 *   Free Software Foundation, Inc.,                                       *
 
18
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 
19
 ***************************************************************************/
 
20
 
 
21
#ifndef _ACPID_READER_H_
 
22
#define _ACPID_READER_H_
 
23
 
 
24
#include <qobject.h>
 
25
#include <qstringlist.h>
 
26
#include <kurl.h>
 
27
#include <qfile.h>
 
28
 
 
29
#include "view.h"
 
30
#include "globals.h"
 
31
 
 
32
#include "defaultReader.h"
 
33
 
 
34
 
 
35
/**
 
36
 * @author Nicolas Ternisien
 
37
 */
 
38
class AcpidReader : public DefaultReader {
 
39
        Q_OBJECT
 
40
        
 
41
        public:
 
42
                AcpidReader(QObject *parent = 0, const char *name = 0);
 
43
                
 
44
                virtual ~AcpidReader();
 
45
                
 
46
                virtual void initColumns(LogViewColumns* columns);
 
47
                
 
48
        protected:
 
49
 
 
50
                virtual LogLine* parseMessage(QString& logLine, LogFile* logFile);
 
51
        
 
52
};
 
53
 
 
54
#endif