localisation/apparchitecture/tef/TAppInstall/TestAppInstall.cpp
branchSymbian3
changeset 57 b8d18c84f71c
parent 6 c108117318cb
equal deleted inserted replaced
56:aa99f2208aad 57:b8d18c84f71c
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     7 //
     8 // Initial Contributors:
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
     9 // Nokia Corporation - initial contribution.
    18 // and Tests that Modified time after installation of RSC is more than 
    18 // and Tests that Modified time after installation of RSC is more than 
    19 // Modified time before installation.
    19 // Modified time before installation.
    20 // 
    20 // 
    21 //
    21 //
    22 
    22 
    23 
       
    24 
       
    25 /**
    23 /**
    26  @file
    24  @file
    27  @test
    25  @test
    28  @internalComponent - Internal Symbian test code
    26  @internalComponent - Internal Symbian test code
    29 */
    27 */
    34 #include "TestAppInstall.h"
    32 #include "TestAppInstall.h"
    35 
    33 
    36 const TUid KUidTestAppInstall = { 0x102826DD };
    34 const TUid KUidTestAppInstall = { 0x102826DD };
    37 
    35 
    38 
    36 
    39 ////////////////////////////////////////////////////////////////////////
    37 //
    40 //
    38 //
    41 // Implementation of the application class - CExampleApplication
    39 // Implementation of the application class - CExampleApplication
    42 //
    40 //
    43 ////////////////////////////////////////////////////////////////////////
    41 //
    44 
    42 
    45 TUid CExampleApplication::AppDllUid() const
    43 TUid CExampleApplication::AppDllUid() const
    46 	{
    44 	{
    47 	return KUidTestAppInstall;
    45 	return KUidTestAppInstall;
    48 	}
    46 	}
    51 	{
    49 	{
    52 	return new (ELeave) CExampleDocument(*this);
    50 	return new (ELeave) CExampleDocument(*this);
    53 	}
    51 	}
    54 	
    52 	
    55 
    53 
    56 ////////////////////////////////////////////////////////////////////////
    54 //
    57 //
    55 //
    58 // Implementation of the appui class - CExampleAppUi
    56 // Implementation of the appui class - CExampleAppUi
    59 //
    57 //
    60 ////////////////////////////////////////////////////////////////////////
    58 //
    61 
    59 
    62 void CExampleAppUi::ConstructL()
    60 void CExampleAppUi::ConstructL()
    63     {
    61     {
    64     BaseConstructL();
    62     BaseConstructL();
    65 	iAppView = CExampleAppView::NewL(ClientRect());
    63 	iAppView = CExampleAppView::NewL(ClientRect());
    80 		}
    78 		}
    81 	}
    79 	}
    82 
    80 
    83 
    81 
    84 
    82 
    85 ////////////////////////////////////////////////////////////////////////
    83 //
    86 //
    84 //
    87 // Implementation of the view class - CExampleAppView
    85 // Implementation of the view class - CExampleAppView
    88 //
    86 //
    89 ////////////////////////////////////////////////////////////////////////
    87 //
    90 
    88 
    91 CExampleAppView::CExampleAppView()
    89 CExampleAppView::CExampleAppView()
    92 	{
    90 	{
    93 	}
    91 	}
    94 
    92 
   150 	gc.DiscardFont();
   148 	gc.DiscardFont();
   151 	}
   149 	}
   152 
   150 
   153 
   151 
   154 
   152 
   155 ////////////////////////////////////////////////////////////////////////
   153 //
   156 //
   154 //
   157 // Implementation of the document class - CExampleDocument
   155 // Implementation of the document class - CExampleDocument
   158 //
   156 //
   159 ////////////////////////////////////////////////////////////////////////
   157 //
   160 
   158 
   161 CExampleDocument::CExampleDocument(CEikApplication& aApp)
   159 CExampleDocument::CExampleDocument(CEikApplication& aApp)
   162 		: CEikDocument(aApp)
   160 		: CEikDocument(aApp)
   163 	{
   161 	{
   164 	}
   162 	}