os/textandloc/fontservices/textshaperplugin/test/S60HindiDemo/inc/MainViewview.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/textandloc/fontservices/textshaperplugin/test/S60HindiDemo/inc/MainViewview.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,92 @@
     1.4 +/*
     1.5 +* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +* All rights reserved.
     1.7 +* This component and the accompanying materials are made available
     1.8 +* under the terms of "Eclipse Public License v1.0"
     1.9 +* which accompanies this distribution, and is available
    1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +*
    1.12 +* Initial Contributors:
    1.13 +* Nokia Corporation - initial contribution.
    1.14 +*
    1.15 +* Contributors:
    1.16 +*
    1.17 +* Description: 
    1.18 +* Series 60 version of Hindi Demo application
    1.19 +*
    1.20 +*/
    1.21 +
    1.22 +
    1.23 +
    1.24 +#ifndef __MAINVIEW_VIEW_H__
    1.25 +#define __MAINVIEW_VIEW_H__
    1.26 +
    1.27 +#include <aknview.h>
    1.28 +#include "HindiDemo.hrh"
    1.29 +
    1.30 +// -----------------------------------------------------------------------
    1.31 +// Forward ref. to container class
    1.32 +// -----------------------------------------------------------------------
    1.33 +class CMainViewContainer;
    1.34 +
    1.35 +
    1.36 +// -----------------------------------------------------------------------
    1.37 +// CMainViewView
    1.38 +// -----------------------------------------------------------------------
    1.39 +class CMainViewView : public CAknView
    1.40 +{
    1.41 +  public:
    1.42 +
    1.43 +    // -----------------------------------------------------------------------
    1.44 +    // Creates a CMainViewView object
    1.45 +    // -----------------------------------------------------------------------
    1.46 +    static CMainViewView* NewL();
    1.47 +
    1.48 +    // -----------------------------------------------------------------------
    1.49 +    // Creates a CMainViewView object
    1.50 +    // -----------------------------------------------------------------------
    1.51 +    static CMainViewView* NewLC();
    1.52 +
    1.53 +    // -----------------------------------------------------------------------
    1.54 +    // Identify of this view to the system
    1.55 +    // -----------------------------------------------------------------------
    1.56 +    TUid Id() const;
    1.57 +
    1.58 +    // -----------------------------------------------------------------------
    1.59 +    // Command Handler
    1.60 +    // -----------------------------------------------------------------------
    1.61 +    void HandleCommandL(TInt aCommand);
    1.62 +
    1.63 +    // -----------------------------------------------------------------------
    1.64 +    // Activates this View
    1.65 +    // -----------------------------------------------------------------------
    1.66 +    void DoActivateL(const TVwsViewId &aPrevViewId, TUid  aCustomMessageId, const TDesC8& aCustomMessage);
    1.67 +
    1.68 +    // -----------------------------------------------------------------------
    1.69 +    // Deactivate this view
    1.70 +    // -----------------------------------------------------------------------
    1.71 +    void DoDeactivate();
    1.72 +
    1.73 +  private:
    1.74 +    CMainViewView();
    1.75 +   ~CMainViewView();
    1.76 +
    1.77 +    // -----------------------------------------------------------------------
    1.78 +    // Performs second phase construction of this view
    1.79 +    // -----------------------------------------------------------------------
    1.80 +    void ConstructL();
    1.81 +
    1.82 +    // -----------------------------------------------------------------------
    1.83 +    // Container for this view
    1.84 +    // -----------------------------------------------------------------------
    1.85 +    CMainViewContainer* iContainer;
    1.86 +
    1.87 +    // -----------------------------------------------------------------------
    1.88 +    // Identifier for this view
    1.89 +    // -----------------------------------------------------------------------
    1.90 +    TUid iIdentifier;
    1.91 +};
    1.92 +
    1.93 +
    1.94 +#endif // __MAINVIEW_VIEW_H__
    1.95 +