telephonyserverplugins/ctsydispatchlayer/inc/mdispatchercallback.h
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2008-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  @file
       
    18  @internalAll 
       
    19 */
       
    20 
       
    21 #ifndef MDISPATCHERCALLBACK_H_
       
    22 #define MDISPATCHERCALLBACK_H_
       
    23 
       
    24 #include "requestqueueoneshot.h"
       
    25 
       
    26 
       
    27 class MDispatcherCallback
       
    28 	{
       
    29 public:
       
    30 
       
    31 	/**
       
    32 	 * This function forms part of the handling of IPCs which are completed 
       
    33 	 * synchronously by the Licensee LTSY but needs completion asynchronously
       
    34 	 * up to the Common TSY.  It is used by the CRequestQueueOneShot object
       
    35 	 * to forward the request back to the correct dispatcher along with the
       
    36 	 * completion data so that the request data can then be unpacked and cleaned
       
    37 	 * up properly on return to the Common TSY. 
       
    38 	 * 
       
    39 	 * @param aIpcDataPackage Encapsulates the request to complete.
       
    40 	 */
       
    41 	virtual void CallbackSync(CRequestQueueOneShot::TIpcDataPackage& aIpcDataPackage) = 0;
       
    42 
       
    43 	}; // class MDispatcherCallback 
       
    44 
       
    45 #endif /*MDISPATCHERCALLBACK_H_*/