~ubuntu-branches/ubuntu/vivid/kate/vivid-updates

« back to all changes in this revision

Viewing changes to addons/sessionapplet/engine/katesessionsservice.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2014-12-04 16:49:41 UTC
  • mfrom: (1.6.6)
  • Revision ID: package-import@ubuntu.com-20141204164941-l3qbvsly83hhlw2v
Tags: 4:14.11.97-0ubuntu1
* New upstream release
* Update build-deps and use pkg-kde v3 for Qt 5 build
* kate-data now kate5-data for co-installability

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/********************************************************************
 
2
This file is part of the KDE project.
 
3
 
 
4
Copyright (C) 2014 Joseph Wenninger <jowenn@kde.org>
 
5
based on clipboard engine:
 
6
Copyright (C) 2014 Martin Gräßlin <mgraesslin@kde.org>
 
7
 
 
8
This program 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
This program 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 this program.  If not, see <http://www.gnu.org/licenses/>.
 
20
*********************************************************************/
 
21
#ifndef KLIPPER_CLIPBOARDSERVICE_H
 
22
#define KLIPPER_CLIPBOARDSERVICE_H
 
23
 
 
24
#include <Plasma/Service>
 
25
 
 
26
class KateSessionsEngine;
 
27
 
 
28
class KateSessionsService : public Plasma::Service
 
29
{
 
30
    Q_OBJECT
 
31
public:
 
32
    KateSessionsService(KateSessionsEngine *engine, const QString &uuid);
 
33
    ~KateSessionsService() = default;
 
34
 
 
35
protected:
 
36
    Plasma::ServiceJob *createJob(const QString &operation, QVariantMap &parameters) override;
 
37
 
 
38
private:
 
39
    KateSessionsEngine *m_engine;
 
40
    QString m_uuid;
 
41
};
 
42
 
 
43
#endif