~phablet-team/telephony-service/trunk

« back to all changes in this revision

Viewing changes to libtelephonyservice/multimediaaccountentry.h

  • Committer: Gustavo Pichorim Boiko
  • Date: 2016-10-03 21:36:53 UTC
  • mto: (1211.1.14 staging)
  • mto: This revision was merged to the branch mainline in revision 1213.
  • Revision ID: gustavo.boiko@canonical.com-20161003213653-x2685eh4f8c5j3gc
Remove the multimedia account type, it is not needed anymore.

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(Tp::ConnectionPtr connection);
43
 
 
44
 
protected:
45
 
    explicit MultimediaAccountEntry(const Tp::AccountPtr &account, QObject *parent = 0);
46
 
};
47
 
 
48
 
#endif // MULTIMEDIAACCOUNTENTRY_H