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