SigningTS/client/signingcommoncase.cpp
author John Kern <johnk@symbian.org>
Fri, 13 Aug 2010 15:37:06 -0700
changeset 31 7140311376c0
parent 18 5707b75503d5
permissions -rw-r--r--
created in memory contact mgr; populateAddress populates it


#include "signingcommoncase.h"

SigningCommonCase::SigningCommonCase(QNetworkAccessManager &aMgr, QObject *parent) :
    QObject(parent), mgr(aMgr)
{
    testBaseURL = ::BaseURL + "?key=" + ::DefaultKey + "&api=" + ApiVersion + "&cmd=";
}

void SigningCommonCase::run()
{

}

void SigningCommonCase::uploadSIS()
{
    QString reqPOST = BaseURL + "uploadSIS";
    QNetworkRequest request(QUrl(reqPOST.toUtf8()));
    request.setHeader(QNetworkRequest::ContentTypeHeader,"x-epoc/x-sisx-app");

    // connect this request to a method for reply.

    // here is the sis file which we will post to the server.

    //mgr.post(request);
}

TestInterface::TRESULT_STATE  SigningCommonCase::getResult()
{
   return TestInterface::INPROGESS;
}