6
by Tiago Salem Herrmann
add copyright headers |
1 |
/**
|
19
by Tiago Salem Herrmann
fix copyright year |
2 |
* Copyright (C) 2013 Canonical, Ltd.
|
6
by Tiago Salem Herrmann
add copyright headers |
3 |
*
|
4 |
* Authors:
|
|
5 |
* Tiago Salem Herrmann <tiago.herrmann@canonical.com>
|
|
6 |
*
|
|
7 |
* This file is part of telepathy-ofono.
|
|
8 |
*
|
|
9 |
* telepathy-ofono is free software; you can redistribute it and/or modify
|
|
28
by Didier Roche
fix some packaging info leftover and fix licenses |
10 |
* it under the terms of the GNU LESSER General Public License as published by
|
6
by Tiago Salem Herrmann
add copyright headers |
11 |
* the Free Software Foundation; version 3.
|
12 |
*
|
|
13 |
* telepathy-ofono 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 |
*
|
|
28
by Didier Roche
fix some packaging info leftover and fix licenses |
18 |
* You should have received a copy of the GNU LESSER General Public License
|
6
by Tiago Salem Herrmann
add copyright headers |
19 |
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
20 |
*/
|
|
21 |
||
1
by Tiago Salem Herrmann
initial commit |
22 |
#ifndef OFONOPROTOCOL_H
|
23 |
#define OFONOPROTOCOL_H
|
|
24 |
||
25 |
#include <TelepathyQt/BaseProtocol> |
|
26 |
||
105.2.1
by Andreas Pokorny
Request proximity based screen blanking from powerd |
27 |
#include "powerdaudiomodemediator.h" |
28 |
#include "powerddbus.h" |
|
29 |
||
1
by Tiago Salem Herrmann
initial commit |
30 |
class Protocol : public Tp::BaseProtocol |
31 |
{
|
|
32 |
Q_OBJECT
|
|
33 |
Q_DISABLE_COPY(Protocol) |
|
34 |
||
35 |
public: |
|
36 |
Protocol(const QDBusConnection &dbusConnection, const QString &name); |
|
37 |
||
38 |
private: |
|
39 |
Tp::BaseConnectionPtr createConnection(const QVariantMap ¶meters, Tp::DBusError *error); |
|
105.2.1
by Andreas Pokorny
Request proximity based screen blanking from powerd |
40 |
PowerDDBus mPowerDDBus; |
41 |
PowerDAudioModeMediator mAudioModeMediator; |
|
1
by Tiago Salem Herrmann
initial commit |
42 |
};
|
43 |
||
44 |
#endif
|