~tiagosh/telephony-service/remove_ofono_dependency

« back to all changes in this revision

Viewing changes to libtelephonyservice/multimediaaccountentry.h

  • Committer: CI Train Bot
  • Author(s): Tiago Salem Herrmann
  • Date: 2015-06-17 20:39:34 UTC
  • mfrom: (1078.2.9 add-multimedia-cm)
  • Revision ID: ci-train-bot@canonical.com-20150617203934-95febufyhpv6a67j
Add multimedia connection manager support
Approved by: Gustavo Pichorim Boiko, PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2013-2015 Canonical, Ltd.
 
3
 *
 
4
 * Authors:
 
5
 *  Gustavo Pichorim Boiko <gustavo.boiko@canonical.com>
 
6
 *  Tiago Salem Herrmann <tiago.herrmann@canonical.com>
 
7
 *
 
8
 * This file is part of telephony-service.
 
9
 *
 
10
 * telephony-service is free software; you can redistribute it and/or modify
 
11
 * it under the terms of the GNU General Public License as published by
 
12
 * the Free Software Foundation; version 3.
 
13
 *
 
14
 * telephony-service is distributed in the hope that it will be useful,
 
15
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
16
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
17
 * GNU General Public License for more details.
 
18
 *
 
19
 * You should have received a copy of the GNU General Public License
 
20
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
21
 */
 
22
 
 
23
#ifndef MULTIMEDIAACCOUNTENTRY_H
 
24
#define MULTIMEDIAACCOUNTENTRY_H
 
25
 
 
26
#include "accountentry.h"
 
27
 
 
28
class MultimediaAccountEntry : public AccountEntry
 
29
{
 
30
    Q_OBJECT
 
31
    friend class AccountEntryFactory;
 
32
 
 
33
public:
 
34
    // reimplemented from AccountEntry
 
35
    virtual AccountEntry::AccountType type() const;
 
36
    virtual bool connected() const;
 
37
    virtual bool compareIds(const QString &first, const QString &second) const;
 
38
    virtual QStringList addressableVCardFields();
 
39
 
 
40
private Q_SLOTS:
 
41
    // reimplemented from AccountEntry
 
42
    void onConnectionChanged();
 
43
 
 
44
protected:
 
45
    explicit MultimediaAccountEntry(const Tp::AccountPtr &account, QObject *parent = 0);
 
46
};
 
47
 
 
48
#endif // MULTIMEDIAACCOUNTENTRY_H