3 * This file is part of QMAFW
5 * Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights
8 * Contact: Visa Smolander <visa.smolander@nokia.com>
10 * This software, including documentation, is protected by copyright controlled
11 * by Nokia Corporation. All rights are reserved. Copying, including
12 * reproducing, storing, adapting or translating, any or all of this material
13 * requires the prior written consent of Nokia Corporation. This material also
14 * contains confidential information which may not be disclosed to others
15 * without the prior written consent of Nokia.
19 #include "MafwRoutingInfoHandler.h"
21 #include <contextsubscriber/contextproperty.h>
22 #include <contextsubscriber/contextpropertyinfo.h>
23 #include <contextsubscriber/contextproviderinfo.h>
27 #include <QDBusConnectionInterface>
29 bool routeTrusted = false;
31 MafwRoutingInfoHandler::MafwRoutingInfoHandler(ContextProperty& property) :
37 MafwRoutingInfoHandler::~MafwRoutingInfoHandler()
41 void MafwRoutingInfoHandler::startProviderCheck()
43 qDebug() << "startProviderCheck";
46 void MafwRoutingInfoHandler::callFinishedSlot(QDBusPendingCallWatcher*)
48 qDebug() << "callFinishedSlot";
51 void MafwRoutingInfoHandler::gotReply(int)
53 Q_EMIT routeChanged(routeTrusted);
56 void MafwRoutingInfoHandler::error()
58 qDebug() << __PRETTY_FUNCTION__;
60 Q_EMIT routeChanged(false);
63 bool MafwRoutingInfoHandler::isPidTrusted (int)