44
|
1 |
/*
|
|
2 |
* Copyright (c) 2002-2005 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0""
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description: peninput VKB data manager
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
// System includes
|
|
20 |
#include <peninputdataconverter.h>
|
|
21 |
#include <centralrepository.h>
|
|
22 |
#include <settingsinternalcrkeys.h>
|
|
23 |
#include <peninputlayoutcontext.h>
|
|
24 |
#include <peninputcommonlayoutglobalenum.h>
|
|
25 |
|
|
26 |
// User includes
|
|
27 |
#include "peninputsplitqwertydatamgr.h"
|
|
28 |
|
|
29 |
// ---------------------------------------------------------------------------
|
|
30 |
// Symbian constructor
|
|
31 |
// ---------------------------------------------------------------------------
|
|
32 |
//
|
|
33 |
CPeninputSplitQwertyDataMgr* CPeninputSplitQwertyDataMgr::NewL(
|
|
34 |
MPeninputLayoutContext* aContext )
|
|
35 |
{
|
|
36 |
CPeninputSplitQwertyDataMgr* self = NewLC( aContext );
|
|
37 |
CleanupStack::Pop(self);
|
|
38 |
|
|
39 |
return self;
|
|
40 |
}
|
|
41 |
|
|
42 |
// ---------------------------------------------------------------------------
|
|
43 |
// Symbian constructor
|
|
44 |
// ---------------------------------------------------------------------------
|
|
45 |
//
|
|
46 |
CPeninputSplitQwertyDataMgr* CPeninputSplitQwertyDataMgr::NewLC(
|
|
47 |
MPeninputLayoutContext* aContext )
|
|
48 |
{
|
|
49 |
CPeninputSplitQwertyDataMgr*
|
|
50 |
self = new ( ELeave ) CPeninputSplitQwertyDataMgr( aContext );
|
|
51 |
|
|
52 |
CleanupStack::PushL( self );
|
|
53 |
self->ConstructL();
|
|
54 |
|
|
55 |
return self;
|
|
56 |
}
|
|
57 |
|
|
58 |
// ---------------------------------------------------------------------------
|
|
59 |
// C++ destructor
|
|
60 |
// ---------------------------------------------------------------------------
|
|
61 |
//
|
|
62 |
CPeninputSplitQwertyDataMgr::~CPeninputSplitQwertyDataMgr()
|
|
63 |
{
|
|
64 |
}
|
|
65 |
|
|
66 |
// ---------------------------------------------------------------------------
|
|
67 |
// Additional init
|
|
68 |
// ---------------------------------------------------------------------------
|
|
69 |
//
|
|
70 |
void CPeninputSplitQwertyDataMgr::InitMore()
|
|
71 |
{
|
|
72 |
}
|
|
73 |
|
|
74 |
// ---------------------------------------------------------------------------
|
|
75 |
// Call back function, which is called when some key changed
|
|
76 |
// ---------------------------------------------------------------------------
|
|
77 |
//
|
|
78 |
void CPeninputSplitQwertyDataMgr::HandleGSRepositoryChange( TInt aChangedKey )
|
|
79 |
{
|
|
80 |
if ( aChangedKey == KSettingsPenInputLang )
|
|
81 |
{
|
|
82 |
}
|
|
83 |
}
|
|
84 |
|
|
85 |
// ---------------------------------------------------------------------------
|
|
86 |
// Reset data contained in data manager
|
|
87 |
// ---------------------------------------------------------------------------
|
|
88 |
//
|
|
89 |
void CPeninputSplitQwertyDataMgr::Reset()
|
|
90 |
{
|
|
91 |
iShiftDown = 0;
|
|
92 |
iCapslockDown = 0;
|
|
93 |
}
|
|
94 |
|
|
95 |
// ---------------------------------------------------------------------------
|
|
96 |
// C++ constructor
|
|
97 |
// ---------------------------------------------------------------------------
|
|
98 |
//
|
|
99 |
CPeninputSplitQwertyDataMgr::CPeninputSplitQwertyDataMgr(
|
|
100 |
MPeninputLayoutContext* aContext )
|
|
101 |
: CPeninputDataMgr( aContext )
|
|
102 |
{
|
|
103 |
}
|