tactilefeedback/tactilefeedbackresolver/inc/tactilefeedbackdefs.h
changeset 0 d54f32e146dd
equal deleted inserted replaced
-1:000000000000 0:d54f32e146dd
       
     1 /*
       
     2 * Copyright (c) 2008 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:  Tactile Feedback server constants definitions.
       
    15 * Part of:      Tactile Feedback.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef TACTILEFEEDBACKDEFS_H
       
    21 #define TACTILEFEEDBACKDEFS_H
       
    22 
       
    23 _LIT( KTactileThreadName, "FeedbackPlayerThread");
       
    24 _LIT( KTactileFeedbackServer, "TactileFeedbackServer" );
       
    25 
       
    26 const TInt KTactileFeedbackServerMinor = 0;
       
    27 const TInt KTactileFeedbackServerMajor = 1;
       
    28 const TInt KTactileFeedbackServerBuild = 0;
       
    29 
       
    30 const TInt KPlayerThreadStackSize   = 0x4000;   // 16kB
       
    31 const TInt KPlayerThreadHeapMinSize = 0x1000;   // 4kB
       
    32 const TInt KPlayerThreadHeapMaxSize = 0x100000; // 1MB
       
    33 
       
    34 
       
    35 enum TTactileFeedbackCmd // Server commands.
       
    36     {
       
    37     EPlayFeedback,
       
    38     EStartFeedback,
       
    39     EModifyFeedback,
       
    40     EStopFeedback,
       
    41     ESetFBEnabledDevice,
       
    42     EFBEnabledForDevice,
       
    43     EPlayPreviewFeedback,
       
    44     EStartPreviewFeedback,
       
    45     EModifyPreviewFeedback,
       
    46     EStopPreviewFeedback
       
    47     };
       
    48 
       
    49 #endif // TACTILEFEEDBACKDEFS_H
       
    50 
       
    51 // End of file.