examples/AppProts/exampleclient/httpexampleutils.h

00001 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
00002 // All rights reserved.
00003 // This component and the accompanying materials are made available
00004 // under the terms of "Eclipse Public License v1.0"
00005 // which accompanies this distribution, and is available
00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00007 //
00008 // Initial Contributors:
00009 // Nokia Corporation - initial contribution.
00010 //
00011 // Contributors:
00012 //
00013 // Description:
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 

Generated on Thu Jan 21 10:32:55 2010 for TB10.1 Example Applications by  doxygen 1.5.3