appfw/apparchitecture/tef/tnotifydrivesapp/tnotifydrivesapp.h
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     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 #ifndef __TNOTIFYDRIVESAPP_H
       
    22 #define __TNOTIFYDRIVESAPP_H
       
    23 
       
    24 #include <coeccntx.h>
       
    25 #include <eikenv.h>
       
    26 #include <eikappui.h>
       
    27 #include <eikapp.h>
       
    28 #include <eikdoc.h>
       
    29 #include <techview/eikmenup.h>
       
    30 #include <techview/eikon.hrh>
       
    31 #include <tnotifydrivesapp.rsg>
       
    32 
       
    33 //
       
    34 //
       
    35 // CExampleApplication
       
    36 //
       
    37 //
       
    38 
       
    39 class CExampleApplication : public CEikApplication
       
    40 	{
       
    41 private: 
       
    42 	// Inherited from class CApaApplication
       
    43 	CApaDocument* CreateDocumentL();
       
    44 	TUid AppDllUid() const;
       
    45 	};
       
    46 
       
    47 //
       
    48 //
       
    49 // CExampleAppView
       
    50 //
       
    51 //
       
    52 class CExampleAppView : public CCoeControl
       
    53     {
       
    54 public:
       
    55 	static CExampleAppView* NewL(const TRect& aRect);
       
    56 	CExampleAppView();
       
    57 	~CExampleAppView();
       
    58     void ConstructL(const TRect& aRect);
       
    59 
       
    60 private:
       
    61 	// Inherited from CCoeControl
       
    62 	void Draw(const TRect& /*aRect*/) const;
       
    63 
       
    64 private:
       
    65 	HBufC*  iExampleText;
       
    66     };
       
    67 
       
    68 
       
    69 //
       
    70 //
       
    71 // CExampleAppUi
       
    72 //
       
    73 //
       
    74 class CExampleAppUi : public CEikAppUi
       
    75     {
       
    76 public:
       
    77     void ConstructL();
       
    78 	~CExampleAppUi();
       
    79 
       
    80 private:
       
    81 	// Inherirted from class CEikAppUi
       
    82 	void HandleCommandL(TInt aCommand);
       
    83 
       
    84 private:
       
    85 	CCoeControl* iAppView;
       
    86 	};
       
    87 
       
    88 
       
    89 //
       
    90 //
       
    91 // CExampleDocument
       
    92 //
       
    93 //
       
    94 class CExampleDocument : public CEikDocument
       
    95 	{
       
    96 public:
       
    97 	static CExampleDocument* NewL(CEikApplication& aApp);
       
    98 	CExampleDocument(CEikApplication& aApp);
       
    99 	void ConstructL();
       
   100 private: 
       
   101 	// Inherited from CEikDocument
       
   102 	CEikAppUi* CreateAppUiL();
       
   103 	};
       
   104 
       
   105 
       
   106 #endif
       
   107