tactilefeedback/tactilefeedbackclient/src/touchfeedback.cpp
changeset 0 d54f32e146dd
equal deleted inserted replaced
-1:000000000000 0:d54f32e146dd
       
     1 /*
       
     2 * Copyright (c) 2007 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 client Instance Factory.
       
    15 * Part of:      Tactile Feedback.
       
    16 *
       
    17 */
       
    18 
       
    19 #include <eikenv.h>
       
    20 #include <touchfeedbackadaptation.h>
       
    21 
       
    22 #include "touchfeedback.h"
       
    23 
       
    24 
       
    25 // ======== MEMBER FUNCTIONS ========
       
    26 
       
    27 // ---------------------------------------------------------------------------
       
    28 // 
       
    29 // ---------------------------------------------------------------------------
       
    30 //
       
    31 EXPORT_C MTouchFeedback* MTouchFeedback::Instance()
       
    32     {
       
    33     return CTouchFeedbackAdaptation::GetInstance();
       
    34     }
       
    35 
       
    36 // ---------------------------------------------------------------------------
       
    37 // 
       
    38 // ---------------------------------------------------------------------------
       
    39 //
       
    40 EXPORT_C MTouchFeedback* MTouchFeedback::CreateInstanceL()
       
    41     {
       
    42     return CTouchFeedbackAdaptation::CreateInstanceL();
       
    43     }
       
    44     
       
    45 // ---------------------------------------------------------------------------
       
    46 // 
       
    47 // ---------------------------------------------------------------------------
       
    48 //
       
    49 EXPORT_C void MTouchFeedback::DestroyInstance()
       
    50     {
       
    51     CTouchFeedbackAdaptation::DestroyInstance();
       
    52     }