os/textandloc/fontservices/textshaperplugin/test/S60HindiDemo/inc/HindiDemodocument.h
Update contrib.
2 * Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
15 * Series 60 version of Hindi Demo application
21 #ifndef __HINDIDEMO_DOCUMENT_H__
22 #define __HINDIDEMO_DOCUMENT_H__
26 // -----------------------------------------------------------------------
28 // -----------------------------------------------------------------------
30 class CEikApplication;
32 // -----------------------------------------------------------------------
34 // -----------------------------------------------------------------------
35 class CHindiDemoDocument : public CAknDocument
38 // -----------------------------------------------------------------------
39 // Constructs CHindiDemoDocument for the AVKON application aApp
40 // using two phase construction, and return a pointer to the created
42 // @param aApp application creating this document
43 // @return a pointer to the created instance of CHindiDemoDocument
44 // -----------------------------------------------------------------------
45 static CHindiDemoDocument* NewL(CEikApplication& aApp);
47 // -----------------------------------------------------------------------
48 // Constructs CHindiDemoDocument for the AVKON application aApp
49 // using two phase construction, and return a pointer to the created
51 // @param aApp application creating this document
52 // @return a pointer to the created instance of CHindiDemoDocument
53 // -----------------------------------------------------------------------
54 static CHindiDemoDocument* NewLC(CEikApplication& aApp);
56 // -----------------------------------------------------------------------
57 // Destroys this document object and releases all memory
58 // -----------------------------------------------------------------------
59 ~CHindiDemoDocument();
61 // -----------------------------------------------------------------------
62 // Creates a CHindiDemoAppUi object and return a pointer to it
63 // @return a pointer to the created instance of the AppUi created
64 // -----------------------------------------------------------------------
65 CEikAppUi* CreateAppUiL();
68 // --------------------------------------------------------------------------
69 // Performs second phase construction for this CHindiDemoDocument object
70 // --------------------------------------------------------------------------
73 // -----------------------------------------------------------------------
74 // Private constructor
75 // -----------------------------------------------------------------------
76 CHindiDemoDocument(CEikApplication& aApp);
79 #endif // __HINDIDEMO_DOCUMENT_H__