~phablet-team/telephony-service/trunk

« back to all changes in this revision

Viewing changes to indicator/ussdmenu.h

  • Committer: CI bot
  • Author(s): Tiago Salem Herrmann
  • Date: 2014-04-07 23:11:36 UTC
  • mfrom: (765.3.10 telephony-service-class0sms)
  • Revision ID: ps-jenkins@lists.canonical.com-20140407231136-gd0ahzbbp9ytbw18
Add class 0 SMS support 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2013 Canonical, Ltd.
 
3
 *
 
4
 * This program is free software: you can redistribute it and/or modify it
 
5
 * under the terms of the GNU General Public License version 3, as published
 
6
 * by the Free Software Foundation.
 
7
 *
 
8
 * This program is distributed in the hope that it will be useful, but
 
9
 * WITHOUT ANY WARRANTY; without even the implied warranties of
 
10
 * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
 
11
 * PURPOSE.  See the GNU General Public License for more details.
 
12
 *
 
13
 * You should have received a copy of the GNU General Public License along
 
14
 * with this program.  If not, see <http://www.gnu.org/licenses/>.
 
15
 *
 
16
 * Author: Pete Woods <pete.woods@canonical.com>
 
17
 * Author: Tiago Salem Herrmann <tiago.herrmann@canonical.com>
 
18
 */
 
19
 
 
20
#ifndef USSDMENU_H_
 
21
#define USSDMENU_H_
 
22
 
 
23
#include <QString>
 
24
#include <QScopedPointer>
 
25
 
 
26
class USSDMenuPriv;
 
27
 
 
28
class USSDMenu {
 
29
public:
 
30
        USSDMenu(bool needsResponse = false);
 
31
        virtual ~USSDMenu();
 
32
        const QString & busName() const;
 
33
        const QString & response() const;
 
34
        const QString & actionPath() const;
 
35
        const QString & menuPath() const;
 
36
        void clearResponse();
 
37
protected:
 
38
        QScopedPointer<USSDMenuPriv> p;
 
39
};
 
40
 
 
41
#endif /* USSDMENU_H_ */