qtmobileextensions/src/keycapture/keycapture_stub_p.cpp
branchRCL_3
changeset 10 cd2778e5acfe
parent 9 5d007b20cfd0
child 11 19a54be74e5e
equal deleted inserted replaced
9:5d007b20cfd0 10:cd2778e5acfe
     1 /*
       
     2  * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     4  *
       
     5  * This program is free software: you can redistribute it and/or modify
       
     6  * it under the terms of the GNU Lesser General Public License as published by
       
     7  * the Free Software Foundation, version 2.1 of the License.
       
     8  * 
       
     9  * This program is distributed in the hope that it will be useful,
       
    10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       
    12  * GNU Lesser General Public License for more details.
       
    13  *
       
    14  * You should have received a copy of the GNU Lesser General Public License
       
    15  * along with this program.  If not, 
       
    16  * see "http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html/".
       
    17  *
       
    18  * Description:
       
    19  *
       
    20  */
       
    21 
       
    22 #include "keycapture_stub_p.h"
       
    23 
       
    24 int KeyCapturePrivate::mRemoteEventType_KeyPress = 0;
       
    25 int KeyCapturePrivate::mRemoteEventType_KeyRelease = 0;
       
    26 
       
    27 KeyCapturePrivate::KeyCapturePrivate()
       
    28 {
       
    29 
       
    30 }
       
    31 
       
    32 KeyCapturePrivate::~KeyCapturePrivate()
       
    33 {
       
    34 }
       
    35 
       
    36 bool KeyCapturePrivate::initRemote(XQKeyCapture::CapturingFlags flags, XQKeyCapture::HandlingEvents events)
       
    37 {
       
    38     Q_UNUSED(flags);
       
    39     Q_UNUSED(events);
       
    40     
       
    41     return false;
       
    42 }
       
    43 
       
    44 bool KeyCapturePrivate::closeRemote(XQKeyCapture::CapturingFlags flags, XQKeyCapture::HandlingEvents events)
       
    45 {
       
    46     Q_UNUSED(flags);
       
    47     Q_UNUSED(events);
       
    48     
       
    49     return false;
       
    50 }
       
    51 
       
    52 bool KeyCapturePrivate::doCapture(TUint aKey,
       
    53         Qt::KeyboardModifiers aModifiersMask,
       
    54         Qt::KeyboardModifiers aModifier,
       
    55         CaptureRequest::CaptureRequestType aType,
       
    56         XQKeyCapture::LongFlags aLongType)
       
    57 {
       
    58     Q_UNUSED(aKey);
       
    59     Q_UNUSED(aModifiersMask);
       
    60     Q_UNUSED(aModifier);
       
    61     Q_UNUSED(aType);
       
    62     Q_UNUSED(aLongType);
       
    63     return false;
       
    64 }
       
    65 
       
    66 bool KeyCapturePrivate::doCancelCapture(TUint aKey,
       
    67         Qt::KeyboardModifiers aModifiersMask,
       
    68         Qt::KeyboardModifiers aModifier, 
       
    69         CaptureRequest::CaptureRequestType aType,
       
    70         XQKeyCapture::LongFlags aLongType)
       
    71 {
       
    72     Q_UNUSED(aKey);
       
    73     Q_UNUSED(aModifiersMask);
       
    74     Q_UNUSED(aModifier);
       
    75     Q_UNUSED(aType);
       
    76     Q_UNUSED(aLongType);
       
    77     return false;
       
    78 }
       
    79 
       
    80 QString KeyCapturePrivate::errorString() const
       
    81 {
       
    82     return QString();
       
    83 }
       
    84 
       
    85 int KeyCapturePrivate::errorId() const
       
    86 {
       
    87     return 0;
       
    88 }
       
    89