bluetoothengine/bthid/mouse/Sesame_client/inc/pointmsgqueue.h
changeset 0 f63038272f30
child 13 b6f55cd40afd
equal deleted inserted replaced
-1:000000000000 0:f63038272f30
       
     1 /*
       
     2 * Copyright (c) 2006-2006 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 message queue header
       
    15  *
       
    16 */
       
    17 
       
    18 #ifndef __POINT_MSGQUE__
       
    19 #define __POINT_MSGQUE__
       
    20 #include <e32msgqueue.h>
       
    21 #define KPointQueueLen (1000)
       
    22 #define KPMaxEvent (5)
       
    23 _LIT(KMsgBTMouseBufferQueue,"BTMouseanimqueue");
       
    24 
       
    25 const TInt KResetBuffer = -1;
       
    26 
       
    27 enum
       
    28     {
       
    29     KBufferPlainPointer = 0, KBufferPenDown, KBufferPenUp
       
    30     };
       
    31 
       
    32 /**
       
    33  * KAnimationCommands.
       
    34  * Constant used to request a reset of the bouncing square,
       
    35  * enumeration can be expanded
       
    36  */
       
    37 enum KAnimationCommands
       
    38     {
       
    39     KStartBTCursorAnim = 1,
       
    40     KStopBTCursorAnim = 2,
       
    41     KChangeCursor = 3,
       
    42     KSendRawEvent = 4
       
    43     };
       
    44 
       
    45 class TPointBuffer
       
    46     {
       
    47 public:
       
    48     TInt iNum;
       
    49     TInt iType[2 * KPMaxEvent];
       
    50     TPoint iPoint[2 * KPMaxEvent];
       
    51     };
       
    52 #endif