~dantti/apper/master

« back to all changes in this revision

Viewing changes to PkSession/PkIsInstalled.h

  • Committer: Daniel Nicoletti
  • Date: 2012-12-16 13:51:04 UTC
  • Revision ID: git-v1:4e1499a55d1ec8a637f03979cde84aaa4a4440ba
Renaming ApperSentinel to ApperPkSession since that's all it will do now

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
 *   Copyright (C) 2009-2011 by Daniel Nicoletti                           *
 
3
 *   dantti12@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; see the file COPYING. If not, write to       *
 
17
 *   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,  *
 
18
 *   Boston, MA 02110-1301, USA.                                           *
 
19
 ***************************************************************************/
 
20
 
 
21
#ifndef PK_IS_INSTALLED_H
 
22
#define PK_IS_INSTALLED_H
 
23
 
 
24
#include "SessionTask.h"
 
25
 
 
26
class PkIsInstalled : public SessionTask
 
27
{
 
28
Q_OBJECT
 
29
public:
 
30
    PkIsInstalled(const QString &package_name,
 
31
                  const QString &interaction,
 
32
                  const QDBusMessage &message,
 
33
                  QWidget *parent = 0);
 
34
    ~PkIsInstalled();
 
35
 
 
36
private slots:
 
37
    void searchFinished(PkTransaction::ExitStatus status);
 
38
 
 
39
private:
 
40
    QString      m_packageName;
 
41
    QDBusMessage m_message;
 
42
};
 
43
 
 
44
#endif