~phablet-team/telephony-service/trunk

« back to all changes in this revision

Viewing changes to Ubuntu/Telephony/PhoneNumber/phonenumber.h

  • Committer: CI bot
  • Author(s): Renato Araujo Oliveira Filho
  • Date: 2014-05-14 13:15:31 UTC
  • mfrom: (805.3.14 telephony-service)
  • Revision ID: ps-jenkins@lists.canonical.com-20140514131531-7vbef9am6n0em0uy
Implemented Telephony.PhoneNumber QML plugin. Fixes: 1267250

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2014 Canonical, Ltd.
 
3
 *
 
4
 * Authors:
 
5
 *  Renato Araujo Oliveira Filho <renato.filho@canonical.com>
 
6
 *
 
7
 * This file is part of telephony-service.
 
8
 *
 
9
 * telephony-service is free software; you can redistribute it and/or modify
 
10
 * it under the terms of the GNU General Public License as published by
 
11
 * the Free Software Foundation; version 3.
 
12
 *
 
13
 * telephony-service 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
 
 
22
#ifndef TELEPHONY_PHONENUMBER_H
 
23
#define TELEPHONY_PHONENUMBER_H
 
24
 
 
25
#include <QQmlContext>
 
26
#include <QQmlExtensionPlugin>
 
27
 
 
28
class PhoneNumber : public QQmlExtensionPlugin
 
29
{
 
30
    Q_OBJECT
 
31
    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")
 
32
 
 
33
public:
 
34
    void initializeEngine(QQmlEngine *engine, const char *uri);
 
35
    void registerTypes(const char *uri);
 
36
};
 
37
 
 
38
#endif //TELEPHONY_PHONENUMBER_H