inputmethods_plat/pen_input_server_api/inc/peninputserverhandler.h
changeset 0 eb1f2e154e89
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/inputmethods_plat/pen_input_server_api/inc/peninputserverhandler.h	Tue Feb 02 01:02:04 2010 +0200
@@ -0,0 +1,61 @@
+/*
+* Copyright (c) 2002-2005 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:               Pen input related enums
+*
+*/
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+#ifndef C_CPENINPUTSERVERHANDLER_H
+#define C_CPENINPUTSERVERHANDLER_H
+
+#include <e32base.h>
+#include <peninputgenericitutcustomization.h>
+#include <peninputclient.h>
+
+class CPenInputServerHandler : public CBase
+    {
+public:
+    IMPORT_C static CPenInputServerHandler* NewL();
+    IMPORT_C virtual ~CPenInputServerHandler();
+    IMPORT_C TInt ConnectServer();
+    IMPORT_C void SetUiLayout(TInt aLayoutId);
+    IMPORT_C void DisconnectServer();
+    IMPORT_C void ActivateUiLayout(TBool aActivate);
+    IMPORT_C void SendCommandToServer(TInt aCmdId);
+    IMPORT_C void SendCommandToServer(TInt aCmdId, TInt aParam);
+    IMPORT_C void SendCommandToServer(TInt aCmdId, const TDesC& aParam);
+    IMPORT_C void SendNewKeyToServer(TInt aCmdId, const TItutKey& aKeyInfo);
+    IMPORT_C void SetIcfText(const TFepInputContextFieldData& aData);
+    IMPORT_C void SendPromptTextToServer(TInt aCmdId, const TFepPromptText& aPromptText);
+private:
+    CPenInputServerHandler();
+    void ConstructL();
+private:
+    RPeninputServer iPenInputServer;
+    TBool iPenInputSvrConnected;    
+    };
+
+#endif // C_CPENINPUTSERVERHANDLER_H