textinput/peninputarc/inc/pensrvcliinc/peninputserverdocument.h
changeset 0 eb1f2e154e89
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/textinput/peninputarc/inc/pensrvcliinc/peninputserverdocument.h	Tue Feb 02 01:02:04 2010 +0200
@@ -0,0 +1,86 @@
+/*
+* Copyright (c) 2006-2006 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:  Defination for peninput server application document
+*
+*/
+
+
+#ifndef PENINPUTSERVERDOCUMENT_H
+#define PENINPUTSERVERDOCUMENT_H
+
+// INCLUDES
+#include <AknDoc.h>
+
+// CONSTANTS
+
+// FORWARD DECLARATIONS
+class  CEikAppUi;
+
+// CLASS DECLARATION
+
+/**
+*  CPeninputServerDocument application class.
+*/
+class CPeninputServerDocument : public CAknDocument
+    {
+public: // Constructors and destructor
+    /**
+    * Two-phased constructor.
+    *
+    * @since S60 v4.0        
+    * @param aApp The application
+    * @return The created document
+    */
+    static CPeninputServerDocument* NewL(CEikApplication& aApp);
+
+    /**
+    * Destructor.
+    *
+    * @since S60 v4.0     
+    */
+    virtual ~CPeninputServerDocument();
+
+private:
+
+    /**
+    * Default constructor.
+    *
+    * @since S60 v4.0     
+    * @param aApp The application
+    */
+    CPeninputServerDocument(CEikApplication& aApp);
+    
+    /**
+    * 2nd phrase constructor
+    *
+    * @since S60 v4.0     
+    */    
+    void ConstructL();
+
+private:
+    //from base class CAknDocument
+    /**
+    * From CAknDocument
+    * Create CPeninputServerAppUi "App UI" object.
+    *
+    * @since S60 v4.0     
+    * @return The created application UI    
+    */
+    CEikAppUi* CreateAppUiL();
+    };
+
+#endif
+
+// End of File
+