SigningTS/client/signingcommoncase.cpp
changeset 18 5707b75503d5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SigningTS/client/signingcommoncase.cpp	Wed May 12 11:54:19 2010 -0700
@@ -0,0 +1,31 @@
+
+#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;
+}