00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #include <e32test.h>
00017
00018
00021 class CHttpExampleUtils : public CBase
00022 {
00023 public:
00024 static void InitCommsL();
00025 static CHttpExampleUtils* NewL(const TDesC& aTestName);
00026 ~CHttpExampleUtils();
00027 void GetAnEntry(const TDesC& ourPrompt, TDes& currentstring);
00028 TInt GetSelection(const TDesC& ourPrompt, const TDesC& validChoices);
00029 void PressAnyKey();
00030 void LogIt(TRefByValue<const TDesC> aFmt, ...);
00031 RTest& Test();
00032 private:
00033 CHttpExampleUtils(const TDesC& aTestName);
00034
00035 private:
00036 RTest iTest;
00037 };
00038
00039