Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libqofono] add assisted satellite navigation, location reporting and
positioning request agent API's
- Loading branch information
Lorn Potter
committed
May 19, 2013
1 parent
2e37239
commit 6ed33c5
Showing
20 changed files
with
801 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" | ||
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> | ||
<node name=""> | ||
<interface name="org.ofono.LocationReporting"> | ||
<method name="GetProperties"> | ||
<arg type="a{sv}" direction="out"/> | ||
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantMap"/> | ||
</method> | ||
<method name="Request"> | ||
<arg type="h" direction="out"/> | ||
</method> | ||
<method name="Release" /> | ||
</method> | ||
</interface> | ||
|
||
</node> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" | ||
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> | ||
<node name=""> | ||
<interface name="org.ofono.PositioningRequestAgent"> | ||
<method name="Request"> | ||
<arg type="s" direction="in"/> | ||
</method> | ||
<method name="ResetAssistanceData"> | ||
</method> | ||
<method name="Release" /> | ||
</method> | ||
</interface> | ||
|
||
</node> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" | ||
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> | ||
<node name=""> | ||
<interface name="org.ofono.SimToolkit"> | ||
<method name="GetProperties"> | ||
<arg type="a{sv}" direction="out"/> | ||
<annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QVariantMap"/> | ||
</method> | ||
<signal name="PropertyChanged"> | ||
<arg type="s"/> | ||
<arg type="v"/> | ||
</signal> | ||
<method name="SelectItem"> | ||
<arg type="y" direction="in"/> | ||
<arg type="o" direction="in"/> | ||
</method> | ||
<method name="RegisterAgent"> | ||
<arg type="o" direction="in"/> | ||
</method> | ||
<method name="UnregisterAgent"> | ||
<arg type="o" direction="in"/> | ||
</method> | ||
</interface> | ||
</node> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" | ||
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> | ||
<node name=""> | ||
<interface name="org.ofono.SimToolkitAgent"> | ||
<method name="RequestSelection"> | ||
<annotation name="org.qtproject.QtDBus.QtTypeName.In2" value="OfonoMenuEntriesList"/> | ||
<arg type="s" direction="in" name="title" /> | ||
<arg type="y" direction="in" name="icon" /> | ||
<arg type="a(sy)" direction="in" name="items" /> | ||
<arg type="n" direction="in" name="defaultValue" /> | ||
<arg type="y" direction="out"/> | ||
</method> | ||
<method name="DisplayText"> | ||
<arg type="s" direction="in" name="title" /> | ||
<arg type="y" direction="in" name="icon" /> | ||
<arg type="b" direction="in" name="urgent" /> | ||
</method> | ||
<method name="RequestInput"> | ||
<arg type="s" direction="in" name="title" /> | ||
<arg type="y" direction="in" name="icon" /> | ||
<arg type="s" direction="in" name="defaultValue" /> | ||
<arg type="y" direction="in" name="minChars" /> | ||
<arg type="y" direction="in" name="maxChars" /> | ||
<arg type="b" direction="in" name="hideTyping" /> | ||
<arg type="s" direction="out"/> | ||
</method> | ||
<method name="RequestDigits"> | ||
<arg type="s" direction="in" name="title" /> | ||
<arg type="y" direction="in" name="icon" /> | ||
<arg type="s" direction="in" name="defaultValue" /> | ||
<arg type="y" direction="in" name="minChars" /> | ||
<arg type="y" direction="in" name="maxChars" /> | ||
<arg type="b" direction="in" name="hideTyping" /> | ||
<arg type="s" direction="out"/> | ||
</method> | ||
<method name="RequestKey"> | ||
<arg type="s" direction="in" name="title" /> | ||
<arg type="y" direction="in" name="icon" /> | ||
<arg type="s" direction="out"/> | ||
</method> | ||
<method name="RequestDigit"> | ||
<arg type="s" direction="in" name="title" /> | ||
<arg type="y" direction="in" name="icon" /> | ||
<arg type="s" direction="out"/> | ||
</method> | ||
<method name="RequestConfirmation"> | ||
<arg type="s" direction="in" name="title" /> | ||
<arg type="y" direction="in" name="icon" /> | ||
<arg type="b" direction="out"/> | ||
</method> | ||
<method name="ConfirmCallSetup"> | ||
<arg type="s" direction="in" name="info" /> | ||
<arg type="y" direction="in" name="icon" /> | ||
<arg type="b" direction="out"/> | ||
</method> | ||
<method name="PlayTone"> | ||
<arg type="s" direction="in" name="tone" /> | ||
<arg type="s" direction="in" name="text" /> | ||
<arg type="y" direction="in" name="icon" /> | ||
</method> | ||
<method name="LoopTone"> | ||
<arg type="s" direction="in" name="tone" /> | ||
<arg type="s" direction="in" name="text" /> | ||
<arg type="y" direction="in" name="icon" /> | ||
</method> | ||
<method name="DisplayActionInformation"> | ||
<arg type="s" direction="in" name="text" /> | ||
<arg type="y" direction="in" name="icon" /> | ||
</method> | ||
<method name="DisplayAction"> | ||
<arg type="s" direction="in" name="text" /> | ||
<arg type="y" direction="in" name="icon" /> | ||
</method> | ||
<method name="ConfirmLaunchBrowser"> | ||
<arg type="s" direction="in" name="info" /> | ||
<arg type="y" direction="in" name="icon" /> | ||
<arg type="s" direction="in" name="url" /> | ||
<arg type="b" direction="out"/> | ||
</method> | ||
<method name="ConfirmOpenChannel"> | ||
<arg type="s" direction="in" name="info" /> | ||
<arg type="y" direction="in" name="icon" /> | ||
<arg type="b" direction="out"/> | ||
</method> | ||
<method name="Cancel"> | ||
</method> | ||
<method name="Release"> | ||
</method> | ||
</interface> | ||
</node> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* | ||
* This file was generated by qdbusxml2cpp version 0.7 | ||
* Command line was: qdbusxml2cpp -c OfonoLocationReporting -p ofonolocationreporting ofono_location_reporting.xml | ||
* | ||
* qdbusxml2cpp is Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies). | ||
* | ||
* This is an auto-generated file. | ||
* This file may have been hand-edited. Look for HAND-EDIT comments | ||
* before re-generating it. | ||
*/ | ||
|
||
#include "ofonolocationreporting.h" | ||
|
||
/* | ||
* Implementation of interface class OfonoLocationReporting | ||
*/ | ||
|
||
OfonoLocationReporting::OfonoLocationReporting(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent) | ||
: QDBusAbstractInterface(service, path, staticInterfaceName(), connection, parent) | ||
{ | ||
} | ||
|
||
OfonoLocationReporting::~OfonoLocationReporting() | ||
{ | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
/* | ||
* This file was generated by qdbusxml2cpp version 0.7 | ||
* Command line was: qdbusxml2cpp -c OfonoLocationReporting -p ofonolocationreporting ofono_location_reporting.xml | ||
* | ||
* qdbusxml2cpp is Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies). | ||
* | ||
* This is an auto-generated file. | ||
* Do not edit! All changes made to it will be lost. | ||
*/ | ||
|
||
#ifndef OFONOLOCATIONREPORTING_H_1368991655 | ||
#define OFONOLOCATIONREPORTING_H_1368991655 | ||
|
||
#include <QtCore/QObject> | ||
#include <QtCore/QByteArray> | ||
#include <QtCore/QList> | ||
#include <QtCore/QMap> | ||
#include <QtCore/QString> | ||
#include <QtCore/QStringList> | ||
#include <QtCore/QVariant> | ||
#include <QtDBus/QtDBus> | ||
|
||
/* | ||
* Proxy class for interface org.ofono.LocationReporting | ||
*/ | ||
class OfonoLocationReporting: public QDBusAbstractInterface | ||
{ | ||
Q_OBJECT | ||
public: | ||
static inline const char *staticInterfaceName() | ||
{ return "org.ofono.LocationReporting"; } | ||
|
||
public: | ||
OfonoLocationReporting(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0); | ||
|
||
~OfonoLocationReporting(); | ||
|
||
public Q_SLOTS: // METHODS | ||
inline QDBusPendingReply<QVariantMap> GetProperties() | ||
{ | ||
QList<QVariant> argumentList; | ||
return asyncCallWithArgumentList(QLatin1String("GetProperties"), argumentList); | ||
} | ||
|
||
inline QDBusPendingReply<> Release() | ||
{ | ||
QList<QVariant> argumentList; | ||
return asyncCallWithArgumentList(QLatin1String("Release"), argumentList); | ||
} | ||
|
||
inline QDBusPendingReply<QDBusUnixFileDescriptor> Request() | ||
{ | ||
QList<QVariant> argumentList; | ||
return asyncCallWithArgumentList(QLatin1String("Request"), argumentList); | ||
} | ||
|
||
Q_SIGNALS: // SIGNALS | ||
}; | ||
|
||
namespace org { | ||
namespace ofono { | ||
typedef ::OfonoLocationReporting LocationReporting; | ||
} | ||
} | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* | ||
* This file was generated by qdbusxml2cpp version 0.7 | ||
* Command line was: qdbusxml2cpp -c OfonoPositioningRequestAgent -p ofonopositioningrequestagent ofono_positioning_request_agent.xml | ||
* | ||
* qdbusxml2cpp is Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies). | ||
* | ||
* This is an auto-generated file. | ||
* This file may have been hand-edited. Look for HAND-EDIT comments | ||
* before re-generating it. | ||
*/ | ||
|
||
#include "ofonopositioningrequestagent.h" | ||
|
||
/* | ||
* Implementation of interface class OfonoPositioningRequestAgent | ||
*/ | ||
|
||
OfonoPositioningRequestAgent::OfonoPositioningRequestAgent(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent) | ||
: QDBusAbstractInterface(service, path, staticInterfaceName(), connection, parent) | ||
{ | ||
} | ||
|
||
OfonoPositioningRequestAgent::~OfonoPositioningRequestAgent() | ||
{ | ||
} | ||
|
Oops, something went wrong.