fontservices/textshaperplugin/test/S60HindiDemo/inc/HindiDemoview.h
author MattD <mattd@symbian.org>
Mon, 08 Feb 2010 15:30:13 +0000
changeset 1 deeea84a7639
parent 0 1fb32624e06b
permissions -rw-r--r--
Bug 1543 - Freetype.dll cannot be built. Added Freetype back in (same fix as in SFL repo)

/*
* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description: 
* Series 60 version of Hindi Demo application
*
*/



#ifndef __HINDIDEMO_VIEW_H__
#define __HINDIDEMO_VIEW_H__

#include <aknview.h>
#include "HindiDemo.hrh"

// -----------------------------------------------------------------------
// Forward ref. to container class
// -----------------------------------------------------------------------
class CHindiDemoContainer;


// -----------------------------------------------------------------------
// CHindiDemoView
// -----------------------------------------------------------------------
class CHindiDemoView : public CAknView
{
  public:

    // -----------------------------------------------------------------------
    // Creates a CHindiDemoView object
    // -----------------------------------------------------------------------
    static CHindiDemoView* NewL();

    // -----------------------------------------------------------------------
    // Creates a CHindiDemoView object
    // -----------------------------------------------------------------------
    static CHindiDemoView* NewLC();

    // -----------------------------------------------------------------------
    // Identify of this view to the system
    // -----------------------------------------------------------------------
    TUid Id() const;

    // -----------------------------------------------------------------------
    // Command Handler
    // -----------------------------------------------------------------------
    void HandleCommandL(TInt aCommand);

    // -----------------------------------------------------------------------
    // Activates this View
    // -----------------------------------------------------------------------
    void DoActivateL(const TVwsViewId &aPrevViewId, TUid  aCustomMessageId, const TDesC8& aCustomMessage);

    // -----------------------------------------------------------------------
    // Deactivate this view
    // -----------------------------------------------------------------------
    void DoDeactivate();

  private:
    CHindiDemoView();
   ~CHindiDemoView();

    // -----------------------------------------------------------------------
    // Performs second phase construction of this view
    // -----------------------------------------------------------------------
    void ConstructL();

    // -----------------------------------------------------------------------
    // Container for this view
    // -----------------------------------------------------------------------
    CHindiDemoContainer* iContainer;

    // -----------------------------------------------------------------------
    // Identifier for this view
    // -----------------------------------------------------------------------
    TUid iIdentifier;
};


#endif // __HINDIDEMO_VIEW_H__