telephonyutils/etel3rdpartyapi/ExampleApps/Shared/CISVAPIAsync.cpp
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 
       
    17 #include "CISVAPIAsync.h"
       
    18 
       
    19 /**
       
    20 Default constructor.
       
    21 
       
    22 @param aController  iController is set to point to this object
       
    23 @param aExampleType The type of the derived class that has extended the
       
    24                     functionality of this class
       
    25 */
       
    26 CISVAPIAsync::CISVAPIAsync(MExecAsync* aController,
       
    27 						   TTelISVExampleType aExampleType)
       
    28 	: CISVAPIBase(aController, aExampleType)
       
    29 	{
       
    30 	// Empty method
       
    31 	}
       
    32 
       
    33 /**
       
    34 Calls MExecAsync::ExecComplete() to notify the Menu object that they have
       
    35 completed their request.
       
    36 */
       
    37 void CISVAPIAsync::ExampleComplete()
       
    38 	{
       
    39 	reinterpret_cast<MExecAsync*>
       
    40 	(iController)->ExecComplete(GetExampleType());
       
    41 	}
       
    42 
       
    43 /**
       
    44 Calls MExecAsync::ExecNotify() to notify the Menu object that they have been
       
    45 notified of a change.
       
    46 */
       
    47 void CISVAPIAsync::ExampleNotify()
       
    48 	{
       
    49 	reinterpret_cast<MExecAsync*>
       
    50 	(iController)->ExecNotify(GetExampleType());
       
    51 	}
       
    52