stifui/stifui/src/View.cpp
changeset 0 d6fe6244b863
child 3 2703485a934c
equal deleted inserted replaced
-1:000000000000 0:d6fe6244b863
       
     1 /*
       
     2 * Copyright (c) 2009 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: This file contains CView class definition.
       
    15 *
       
    16 */
       
    17 
       
    18 // INCLUDE FILES
       
    19 #include  <aknviewappui.h>
       
    20 #include  <Stifui.rsg>
       
    21 #include  "AppUIAppUi.h"
       
    22 #include  "View.h"
       
    23 
       
    24 
       
    25 // ================= MEMBER FUNCTIONS =======================
       
    26 // ----------------------------------------------------------------------------
       
    27 // CView::ConstructL
       
    28 // 
       
    29 // Symbian OS two-phased constructor.
       
    30 // ----------------------------------------------------------------------------
       
    31 //
       
    32 void CView::ConstructL()
       
    33     {
       
    34     iUIStore = ( (CAppUIAppUi*)AppUi() )->UIStoreHandler();
       
    35     }
       
    36 
       
    37 // ----------------------------------------------------------------------------
       
    38 // CView::~CView
       
    39 // 
       
    40 // Destructor.
       
    41 // ----------------------------------------------------------------------------
       
    42 //
       
    43 CView::~CView()
       
    44     {
       
    45     }
       
    46 
       
    47 // ----------------------------------------------------------------------------
       
    48 // CView::Id
       
    49 // 
       
    50 // Returns view´s id.
       
    51 // ----------------------------------------------------------------------------
       
    52 //
       
    53 TUid CView::Id() const
       
    54     {
       
    55     return TUid::Uid(0);
       
    56     }
       
    57 
       
    58 // ----------------------------------------------------------------------------
       
    59 // CView::HandleCommandL
       
    60 // 
       
    61 // Handles a command.
       
    62 // ----------------------------------------------------------------------------
       
    63 //
       
    64 void CView::HandleCommandL(TInt /*aCommand*/)
       
    65     {   
       
    66     }
       
    67 
       
    68 // ----------------------------------------------------------------------------
       
    69 // CView::HandleClientRectChange
       
    70 // 
       
    71 // Handles client rect changes.
       
    72 // ----------------------------------------------------------------------------
       
    73 //
       
    74 void CView::HandleClientRectChange()
       
    75     {
       
    76     }
       
    77 
       
    78 // ----------------------------------------------------------------------------
       
    79 // CView::DoActivateL
       
    80 // 
       
    81 // Initializes view when activated.
       
    82 // ----------------------------------------------------------------------------
       
    83 //
       
    84 void CView::DoActivateL(
       
    85    const TVwsViewId& /*aPrevViewId*/,TUid /*aCustomMessageId*/,
       
    86    const TDesC8& /*aCustomMessage*/ )
       
    87 	{
       
    88 	}
       
    89 
       
    90 // ----------------------------------------------------------------------------
       
    91 // CView::DoDeactivate
       
    92 // 
       
    93 // Deactivates view.
       
    94 // ----------------------------------------------------------------------------
       
    95 //
       
    96 void CView::DoDeactivate()
       
    97     {
       
    98     }
       
    99 
       
   100 // End of File