24
|
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 |
#ifndef __CISVAPISYNC_H__
|
|
18 |
#define __CISVAPISYNC_H__
|
|
19 |
|
|
20 |
#include "CISVAPIBase.h"
|
|
21 |
|
|
22 |
/**
|
|
23 |
Class derived from MExecController, used when execution of an application
|
|
24 |
is predictable and the application will not use notifications in derived
|
|
25 |
objects.
|
|
26 |
*/
|
|
27 |
class MExecSync : public MExecController
|
|
28 |
{
|
|
29 |
// Methods
|
|
30 |
public:
|
|
31 |
/**
|
|
32 |
Provides functionality for member objects to notify the Menu object
|
|
33 |
(their owner) that they have completed their request.
|
|
34 |
*/
|
|
35 |
virtual void ExecComplete() = 0;
|
|
36 |
|
|
37 |
};
|
|
38 |
|
|
39 |
/**
|
|
40 |
Extended class providing functionality for objects to make Etel 3rd party
|
|
41 |
function calls and interact with their owning class.
|
|
42 |
*/
|
|
43 |
class CISVAPISync : public CISVAPIBase
|
|
44 |
{
|
|
45 |
// Methods
|
|
46 |
public:
|
|
47 |
CISVAPISync(MExecSync* aController
|
|
48 |
,TTelISVExampleType aExampleType);
|
|
49 |
/**
|
|
50 |
Calls ExecComplete() through the iController instance.
|
|
51 |
*/
|
|
52 |
virtual void ExampleComplete();
|
|
53 |
|
|
54 |
};
|
|
55 |
|
|
56 |
#endif // __CISVAPISYNC_H__
|