mapnavproviderrefapp/inc/mnrpappcontrol.h
branchRCL_3
changeset 17 1fc85118c3ae
parent 16 8173571d354e
child 18 870918037e16
equal deleted inserted replaced
16:8173571d354e 17:1fc85118c3ae
     1 /*
       
     2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  CMnrpAppControl class definition 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MNRP_APPCONTROL_H
       
    20 #define MNRP_APPCONTROL_H
       
    21 
       
    22 #include <coecntrl.h>
       
    23 class CMnrpAppView;
       
    24 
       
    25 /** Empty view for the case when application is started
       
    26  *	from menu */
       
    27 class CMnrpAppControl : public CCoeControl
       
    28     {
       
    29     public:
       
    30 
       
    31         static CMnrpAppControl* NewL( CMnrpAppView& aView, const TRect& aRect );
       
    32 
       
    33         virtual ~CMnrpAppControl();
       
    34 
       
    35     public:  // From CCoeControl
       
    36 
       
    37         TInt CountComponentControls() const;
       
    38         CCoeControl* ComponentControl( TInt aIndex ) const;
       
    39         void HandleResourceChange( TInt aType );
       
    40 
       
    41         void Draw( const TRect& aRect ) const;
       
    42         
       
    43     private:
       
    44 
       
    45         void ConstructL( const TRect& aRect );
       
    46         CMnrpAppControl( CMnrpAppView& aView );
       
    47         
       
    48     private:
       
    49         CMnrpAppView&   iView;
       
    50     };
       
    51 
       
    52 #endif // MNRP_APPCONTROL_H
       
    53