SigningTS/client/signingcommoncase.cpp
author John Kern <johnk@symbian.org>
Thu, 19 Aug 2010 13:16:27 -0700
changeset 35 0cb8cc1ee8f5
parent 18 5707b75503d5
permissions -rw-r--r--
comment on using jpg images


#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;
}