localisation/apparchitecture/tef/tupgradeiconapp/tupgradeiconapp.h
branchSymbian3
changeset 57 b8d18c84f71c
parent 6 c108117318cb
equal deleted inserted replaced
56:aa99f2208aad 57:b8d18c84f71c
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2007-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.
    10 //
    10 //
    11 // Contributors:
    11 // Contributors:
    12 //
    12 //
    13 // Description:
    13 // Description:
    14 //
    14 //
    15 
       
    16 
       
    17 
    15 
    18 /**
    16 /**
    19  @file
    17  @file
    20  @test
    18  @test
    21  @internalComponent - Internal Symbian test code
    19  @internalComponent - Internal Symbian test code
    29 
    27 
    30 #include <eikenv.h>
    28 #include <eikenv.h>
    31 #include <eikappui.h>
    29 #include <eikappui.h>
    32 #include <eikapp.h>
    30 #include <eikapp.h>
    33 #include <eikdoc.h>
    31 #include <eikdoc.h>
    34 #include <eikmenup.h>
    32 #include <mw/eikmenup.h>
    35 
    33 
    36 #include <eikon.hrh>
    34 #include <mw/eikon.hrh>
    37 
    35 
    38 #include <tupgradeiconapp.rsg>
    36 #include <tupgradeiconapp.rsg>
    39 
    37 
    40 
    38 
    41 
    39 
    42 ////////////////////////////////////////////////////////////////////////
    40 //
    43 //
    41 //
    44 // CExampleApplication
    42 // CExampleApplication
    45 //
    43 //
    46 ////////////////////////////////////////////////////////////////////////
    44 //
    47 
    45 
    48 class CExampleApplication : public CEikApplication
    46 class CExampleApplication : public CEikApplication
    49 	{
    47 	{
    50 private: 
    48 private: 
    51 	// Inherited from class CApaApplication
    49 	// Inherited from class CApaApplication
    52 	CApaDocument* CreateDocumentL();
    50 	CApaDocument* CreateDocumentL();
    53 	TUid AppDllUid() const;
    51 	TUid AppDllUid() const;
    54 	};
    52 	};
    55 
    53 
    56 ////////////////////////////////////////////////////////////////////////
    54 //
    57 //
    55 //
    58 // CExampleAppView
    56 // CExampleAppView
    59 //
    57 //
    60 ////////////////////////////////////////////////////////////////////////
    58 //
    61 class CExampleAppView : public CCoeControl
    59 class CExampleAppView : public CCoeControl
    62     {
    60     {
    63 public:
    61 public:
    64 	static CExampleAppView* NewL(const TRect& aRect);
    62 	static CExampleAppView* NewL(const TRect& aRect);
    65 	CExampleAppView();
    63 	CExampleAppView();
    73 private:
    71 private:
    74 	HBufC*  iExampleText;
    72 	HBufC*  iExampleText;
    75     };
    73     };
    76 
    74 
    77 
    75 
    78 ////////////////////////////////////////////////////////////////////////
    76 //
    79 //
    77 //
    80 // CExampleAppUi
    78 // CExampleAppUi
    81 //
    79 //
    82 ////////////////////////////////////////////////////////////////////////
    80 //
    83 class CExampleAppUi : public CEikAppUi
    81 class CExampleAppUi : public CEikAppUi
    84     {
    82     {
    85 public:
    83 public:
    86     void ConstructL();
    84     void ConstructL();
    87 	~CExampleAppUi();
    85 	~CExampleAppUi();
    93 private:
    91 private:
    94 	CCoeControl* iAppView;
    92 	CCoeControl* iAppView;
    95 	};
    93 	};
    96 
    94 
    97 
    95 
    98 ////////////////////////////////////////////////////////////////////////
    96 //
    99 //
    97 //
   100 // CExampleDocument
    98 // CExampleDocument
   101 //
    99 //
   102 ////////////////////////////////////////////////////////////////////////
   100 //
   103 class CExampleDocument : public CEikDocument
   101 class CExampleDocument : public CEikDocument
   104 	{
   102 	{
   105 public:
   103 public:
   106 	static CExampleDocument* NewL(CEikApplication& aApp);
   104 	static CExampleDocument* NewL(CEikApplication& aApp);
   107 	CExampleDocument(CEikApplication& aApp);
   105 	CExampleDocument(CEikApplication& aApp);
   111 	CEikAppUi* CreateAppUiL();
   109 	CEikAppUi* CreateAppUiL();
   112 	};
   110 	};
   113 
   111 
   114 
   112 
   115 #endif
   113 #endif
       
   114