textinput/peninputsplitqwerty/src/peninputsplitqwertydatamgr.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 19 Feb 2010 23:09:27 +0200
branchRCL_3
changeset 3 f5a1e66df979
parent 0 eb1f2e154e89
permissions -rw-r--r--
Revision: 201003 Kit: 201007

/*
* 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 <peninputdataconverter.h>
#include <centralrepository.h>
#include <settingsinternalcrkeys.h>
#include <peninputlayoutcontext.h>
#include <peninputcommonlayoutglobalenum.h>

// 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 )
    {
    }