sysstatemgmt/systemstarter/test/testapprvafterretry/testapprvafterretry.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @test
       
    19  @internalComponent - Internal Symbian test code
       
    20 */
       
    21 
       
    22 #ifndef __TESTAPPRVAFTERRETRY_H
       
    23 #define __TESTAPPRVAFTERRETRY_H
       
    24 
       
    25 #include <s32file.h>
       
    26 #include <f32file.h>
       
    27 
       
    28 
       
    29 const TInt KDontRvCount = 4;
       
    30 _LIT( KDontRvCountFile, "c:\\dontrvcount.dat" );
       
    31 
       
    32 
       
    33 /**
       
    34 Application class
       
    35 */
       
    36 #include <eikapp.h>
       
    37 
       
    38 class CTestApplication : public CEikApplication
       
    39 	{
       
    40 public:
       
    41 	static CApaApplication* NewApplication();
       
    42 	~CTestApplication();
       
    43 	
       
    44 private:
       
    45 	CTestApplication();
       
    46 	
       
    47 	// from CApaApplication
       
    48 	TUid AppDllUid() const;
       
    49 	CApaDocument* CreateDocumentL();
       
    50 	};
       
    51 
       
    52 /**
       
    53 Document class
       
    54 */
       
    55 #include <eikdoc.h>
       
    56 
       
    57 class CEikAppUi;
       
    58 class CEikApplication;
       
    59 class CTestDocument : public CEikDocument
       
    60 	{
       
    61 public:
       
    62 	static CTestDocument* NewL(CEikApplication& aApp);
       
    63 	~CTestDocument();
       
    64 	
       
    65 private:
       
    66 	CTestDocument(CEikApplication& aApp);
       
    67 	
       
    68 	// from CEikDocument
       
    69 	CEikAppUi* CreateAppUiL();
       
    70 	};
       
    71 
       
    72 /**
       
    73 Application UI class, root of all graphical user interface in this application
       
    74 */
       
    75 #include <eikappui.h>
       
    76 
       
    77 class CTestAppAo;
       
    78 class CTestAppUi : public CEikAppUi
       
    79     {
       
    80 public:
       
    81 	CTestAppUi();
       
    82 	~CTestAppUi();
       
    83 	
       
    84 	// from CEikAppUi
       
    85 	void ConstructL();
       
    86 	// From CCoeAppUi
       
    87 	virtual TBool FrameworkCallsRendezvous() const;
       
    88 	};
       
    89 
       
    90 #endif // __TESTAPPRVAFTERRETRY_H