Fix compilation on BlackBerry Playbook
Implement pps_decoder_is_integer() function, which is not present on Playbook by default. Change-Id: Iff0974f3f178bf9c39aa05b4e1be87b2b7a9344e Reviewed-by: Peter Hartmann <phartmann@blackberry.com> Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
This commit is contained in:
parent
10e690506e
commit
a871f224f8
@ -213,6 +213,13 @@ QT_BEGIN_NAMESPACE
|
|||||||
#ifdef Q_OS_BLACKBERRY
|
#ifdef Q_OS_BLACKBERRY
|
||||||
static const char cellularStatusFile[] = "/pps/services/radioctrl/modem0/status_public";
|
static const char cellularStatusFile[] = "/pps/services/radioctrl/modem0/status_public";
|
||||||
|
|
||||||
|
#ifdef Q_OS_BLACKBERRY_TABLET
|
||||||
|
static bool pps_decoder_is_integer(pps_decoder_t *decoder, const char *name)
|
||||||
|
{
|
||||||
|
return (pps_decoder_type(decoder, name) == PPS_TYPE_NUMBER);
|
||||||
|
}
|
||||||
|
#endif // Q_OS_BLACKBERRY_TABLET
|
||||||
|
|
||||||
static QNetworkConfiguration::BearerType cellularStatus()
|
static QNetworkConfiguration::BearerType cellularStatus()
|
||||||
{
|
{
|
||||||
QNetworkConfiguration::BearerType ret = QNetworkConfiguration::BearerUnknown;
|
QNetworkConfiguration::BearerType ret = QNetworkConfiguration::BearerUnknown;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user