diff -r 4526337fb576 -r 3eca7e70b1b8 mulwidgets/common/inc/mulkeyboardutility.h --- a/mulwidgets/common/inc/mulkeyboardutility.h Tue Feb 02 00:28:09 2010 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,68 +0,0 @@ -/* -* Copyright (c) 2007-2008 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: Utility class for keyboard handling - * -*/ - - -#ifndef MULKEYBOARDUTILITY_H_ -#define MULKEYBOARDUTILITY_H_ - -#include -#include -#include -#include -#include -#include // KAknQwertyInputModeActive -#include - - class CQwertySubscriber : public CActive - { - public: - CQwertySubscriber(TCallBack aCallBack, RProperty& aProperty); - ~CQwertySubscriber(); - - public: // New functions - - void SubscribeL(); - void StopSubscribe(); - - private: // from CActive - - void RunL(); - void DoCancel(); - - private: - TCallBack iCallBack; - RProperty& iProperty; - }; - -class CKeyBoardUtility: public CCoeStatic -{ - public: - static CKeyBoardUtility* NewL(); - private: - static TInt QwertyModeChangeNotification(TAny* aObj); - private: - ~CKeyBoardUtility(); - CKeyBoardUtility(); - bool bQwerty; - /** Qwerty Notification */ - CQwertySubscriber* iQwertyModeStatusSubscriber; - RProperty iQwertyModeStatusProperty; - void HandleQwertyModeChangeNotification(); - public: - bool IsQwerty(); -}; -#endif //MULKEYBOARDUTILITY_H_