diff -r d40e813b23c0 -r 48060abbbeaf htiui/HtiServicePlugins/HtiKeyEventServicePlugin/inc/HtiKeyEventServicePlugin.h --- a/htiui/HtiServicePlugins/HtiKeyEventServicePlugin/inc/HtiKeyEventServicePlugin.h Thu Jul 15 18:39:46 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,77 +0,0 @@ -/* -* Copyright (c) 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: Implementation of ECOM plug-in service interface. Provides -* key event service. -* -*/ - - -#ifndef CHTIKEYEVENTSERVICEPLUGIN_H -#define CHTIKEYEVENTSERVICEPLUGIN_H - -// INCLUDES -#include -#include -#include -#include - - -// CONSTANTS -const TInt KKeyEventServiceUidValue = 0x1020DEC1; // ECOM Implementation UID -const TUid KKeyEventServiceUid = { KKeyEventServiceUidValue }; - -// FORWARD DECLARATIONS -class CKeyEventHandler; -class CPointerEventHandler; - -// CLASS DECLARATION - -/** -* Implementation of ECOM plug-in service interface. -*/ -class CHtiKeyEventServicePlugin : public CHTIServicePluginInterface - ,public MCenRepNotifyHandlerCallback - { -public: - - static CHtiKeyEventServicePlugin* NewL(); - - // Interface implementation - void ProcessMessageL( const TDesC8& aMessage, - THtiMessagePriority aPriority ); - -protected: - - CHtiKeyEventServicePlugin(); - void ConstructL(); - - virtual ~CHtiKeyEventServicePlugin(); - - // from MCenRepNotifyHandlerCallback - void HandleNotifyInt( TUint32 aId, TInt aNewValue ); - void HandleNotifyError( TUint32 aId, TInt error, - CCenRepNotifyHandler* aHandler ); - -private: - - CKeyEventHandler* iKeyHandler; - CPointerEventHandler* iPointerHandler; - - TInt iLightTimeout; - CRepository* iCenRepSession; - CCenRepNotifyHandler* iLightTimeoutSettingHandler; - }; - -#endif // CHTIKEYEVENTSERVICEPLUGIN_H -