connectivitymodules/SeCon/plugins/hapticsconnplugin/inc/hapticsconnplugin.h
branchRCL_3
changeset 20 4a793f564d72
parent 0 d0791faffa3f
equal deleted inserted replaced
19:0aa8cc770c8a 20:4a793f564d72
       
     1 /*
       
     2 * Copyright (c) 2009 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:  Haptics OBEX connection plugin.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_HAPTICSCONNPLUGIN_H
       
    20 #define C_HAPTICSCONNPLUGIN_H
       
    21 
       
    22 #include <obexserver.h>
       
    23 #include <SrcsInterface.h>
       
    24 
       
    25 class CHapticsMsgHandler;
       
    26 
       
    27 class CHapticsConnPlugin : public CSrcsInterface
       
    28     {
       
    29     public:
       
    30         /**
       
    31          * 2-phased constructor.
       
    32          */
       
    33         static CHapticsConnPlugin* NewL();
       
    34 
       
    35         /**
       
    36          * Destructor.
       
    37          */
       
    38         virtual ~CHapticsConnPlugin();
       
    39         
       
    40         /**
       
    41          * From CSrcsInterface.
       
    42          * @see CSrcsInterface.
       
    43          */
       
    44         TBool IsOBEXActive();
       
    45         
       
    46     private:
       
    47         /**
       
    48          * 2nd phase constructor.
       
    49          */    
       
    50         void ConstructL();
       
    51         
       
    52         /**
       
    53          * Constructor.
       
    54          */
       
    55         CHapticsConnPlugin();
       
    56         
       
    57     private:
       
    58         /**
       
    59          * Component to handle messages between file systen and 
       
    60          * haptics server.
       
    61          * Own.
       
    62          */
       
    63         CHapticsMsgHandler* iMsgHandler;
       
    64     };
       
    65 
       
    66 #endif // C_HAPTICSCONNPLUGIN_H