X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fsituareservice%2Fsituareservice.h;h=f57bfa0351abd13f2324c1e9996495384fb6e38a;hb=16386092b6af918c97dbf9ad57f06f7b212cda68;hp=a85127c0f7a8c9114df18f929ebb6a79acc3a41d;hpb=e176c7696df20f5206da23fa95ebcc1a0a24b0aa;p=situare diff --git a/src/situareservice/situareservice.h b/src/situareservice/situareservice.h index a85127c..f57bfa0 100644 --- a/src/situareservice/situareservice.h +++ b/src/situareservice/situareservice.h @@ -133,44 +133,6 @@ private: QString degreesToString(double degrees); /** - * @brief Forms a http cookie - * - * @param apiKeyValue application key - * @param expiresValue session expire date&time from Facebook - * @param userValue user id from Facebook - * @param sessionKeyValue session key from Facebook - * @param sessionSecretValue session secret from Facebook - * @param signatureValue md5 generated signature - * @param localeValue used locale - * @return QString formed cookie - */ - QString formCookie(const QString &apiKeyValue, QString expiresValue, QString userValue, - QString sessionKeyValue, QString sessionSecretValue, - const QString &signatureValue, const QString &localeValue); - - /** - * @brief Forms a http url - * - * @param baseUrl Server url - * @param phpScript Server script - * @param urlParameters optional parameters for url - * @return QUrl formed url - */ - QUrl formUrl(const QString &baseUrl, const QString &phpScript, - QString urlParameters = QString()); - - /** - * @brief Forms url parameters - * - * @param coordinates current coordinates - * @param status optional status message - * @param publish optional publish location on Facebook wall - * @return QString - */ - QString formUrlParameters(const GeoCoordinate &coordinates, QString status = QString(), - bool publish = false); - - /** * @brief Parses user and friend data from JSON string * * @param jsonReply JSON string @@ -178,15 +140,6 @@ private: void parseUserData(const QByteArray &jsonReply); /** - * @brief Sends http request - * - * @param url destination - * @param cookieType type of the cookie - * @param cookie http cookie - */ - void sendRequest(const QUrl &url, const QString &cookieType, const QString &cookie); - - /** * @brief Build and send request * * Appends script pathname and parameters to the server base URL. Access token is appended and