sysstatemgmt/systemstatemgr/test/testapps/inc/ssmtestapppanic.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 __SSMTESTAPPPANIC_H__
       
    23 #define __SSMTESTAPPPANIC_H__
       
    24 
       
    25 
       
    26 const TInt KSsTestAppPanicNumber = -130258;
       
    27 
       
    28 /**
       
    29 Application class
       
    30 */
       
    31 #include <eikapp.h>
       
    32 class CTestApplication : public CEikApplication
       
    33 	{
       
    34 public:
       
    35 	static CApaApplication* NewApplication();
       
    36 	~CTestApplication();
       
    37 	
       
    38 private:
       
    39 	CTestApplication();
       
    40 	
       
    41 	// from CApaApplication
       
    42 	TUid AppDllUid() const;
       
    43 	CApaDocument* CreateDocumentL();
       
    44 	};
       
    45 
       
    46 /**
       
    47 Document class
       
    48 */
       
    49 #include <eikdoc.h>
       
    50 class CEikAppUi;
       
    51 class CEikApplication;
       
    52 class CTestDocument : public CEikDocument
       
    53 	{
       
    54 public:
       
    55 	static CTestDocument* NewL(CEikApplication& aApp);
       
    56 	~CTestDocument();
       
    57 	
       
    58 private:
       
    59 	CTestDocument(CEikApplication& aApp);
       
    60 	
       
    61 	// from CEikDocument
       
    62 	CEikAppUi* CreateAppUiL();
       
    63 	};
       
    64 
       
    65 /**
       
    66 Application UI class, root of all graphical user interface in this application
       
    67 */
       
    68 #include <eikappui.h>
       
    69 class CTestAppUi : public CEikAppUi
       
    70     {
       
    71 public:
       
    72 	CTestAppUi();
       
    73 	~CTestAppUi();
       
    74 	
       
    75 	// from CEikAppUi
       
    76 	void ConstructL();
       
    77 	// From CCoeAppUi
       
    78 	virtual TBool FrameworkCallsRendezvous() const;
       
    79 	};
       
    80 
       
    81 #endif // __SSMTESTAPPPANIC_H__