~ubuntu-branches/ubuntu/precise/ark/precise-proposed

« back to all changes in this revision

Viewing changes to plugins/clilhaplugin/cliplugin.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2011-12-15 14:20:40 UTC
  • Revision ID: package-import@ubuntu.com-20111215142040-v5d1fjy6vqmq3nuc
Tags: upstream-4.7.90
ImportĀ upstreamĀ versionĀ 4.7.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * ark -- archiver for the KDE project
 
3
 *
 
4
 * Copyright (C) 2011 Intzoglou Theofilos <int.teo@gmail.com>
 
5
 *
 
6
 * This program is free software; you can redistribute it and/or
 
7
 * modify it under the terms of the GNU General Public License
 
8
 * as published by the Free Software Foundation; either version 2
 
9
 * of the License, or (at your option) any later version.
 
10
 *
 
11
 * This program is distributed in the hope that it will be useful,
 
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
 * GNU General Public License for more details.
 
15
 *
 
16
 * You should have received a copy of the GNU General Public License
 
17
 * along with this program; if not, write to the Free Software
 
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
19
 */
 
20
 
 
21
#ifndef CLIPLUGIN_H
 
22
#define CLIPLUGIN_H
 
23
 
 
24
#include "kerfuffle/cliinterface.h"
 
25
 
 
26
class CliPlugin : public Kerfuffle::CliInterface
 
27
{
 
28
    Q_OBJECT
 
29
 
 
30
public:
 
31
    explicit CliPlugin(QObject *parent, const QVariantList &args);
 
32
    virtual ~CliPlugin();
 
33
 
 
34
    virtual Kerfuffle::ParameterList parameterList() const;
 
35
 
 
36
    virtual bool readListLine(const QString &line);
 
37
 
 
38
private:
 
39
    enum {
 
40
        Header = 0,
 
41
        Entry
 
42
    } m_status;
 
43
 
 
44
    QString m_entryFilename;
 
45
    QString m_internalId;
 
46
    bool m_firstLine;
 
47
};
 
48
 
 
49
#endif // CLIPLUGIN_H