diff -r 000000000000 -r eb1f2e154e89 textinput/peninputsplitqwerty/src/peninputsplitqwertydatamgr.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/textinput/peninputsplitqwerty/src/peninputsplitqwertydatamgr.cpp Tue Feb 02 01:02:04 2010 +0200 @@ -0,0 +1,103 @@ +/* +* 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: peninput VKB data manager +* +*/ + + +// System includes +#include +#include +#include +#include +#include + +// User includes +#include "peninputsplitqwertydatamgr.h" + +// --------------------------------------------------------------------------- +// Symbian constructor +// --------------------------------------------------------------------------- +// +CPeninputSplitQwertyDataMgr* CPeninputSplitQwertyDataMgr::NewL( + MPeninputLayoutContext* aContext ) + { + CPeninputSplitQwertyDataMgr* self = NewLC( aContext ); + CleanupStack::Pop(self); + + return self; + } + +// --------------------------------------------------------------------------- +// Symbian constructor +// --------------------------------------------------------------------------- +// +CPeninputSplitQwertyDataMgr* CPeninputSplitQwertyDataMgr::NewLC( + MPeninputLayoutContext* aContext ) + { + CPeninputSplitQwertyDataMgr* + self = new ( ELeave ) CPeninputSplitQwertyDataMgr( aContext ); + + CleanupStack::PushL( self ); + self->ConstructL(); + + return self; + } + +// --------------------------------------------------------------------------- +// C++ destructor +// --------------------------------------------------------------------------- +// +CPeninputSplitQwertyDataMgr::~CPeninputSplitQwertyDataMgr() + { + } + +// --------------------------------------------------------------------------- +// Additional init +// --------------------------------------------------------------------------- +// +void CPeninputSplitQwertyDataMgr::InitMore() + { + } + +// --------------------------------------------------------------------------- +// Call back function, which is called when some key changed +// --------------------------------------------------------------------------- +// +void CPeninputSplitQwertyDataMgr::HandleGSRepositoryChange( TInt aChangedKey ) + { + if ( aChangedKey == KSettingsPenInputLang ) + { + } + } + +// --------------------------------------------------------------------------- +// Reset data contained in data manager +// --------------------------------------------------------------------------- +// +void CPeninputSplitQwertyDataMgr::Reset() + { + iShiftDown = 0; + iCapslockDown = 0; + } + +// --------------------------------------------------------------------------- +// C++ constructor +// --------------------------------------------------------------------------- +// +CPeninputSplitQwertyDataMgr::CPeninputSplitQwertyDataMgr( + MPeninputLayoutContext* aContext ) + : CPeninputDataMgr( aContext ) + { + }