33
|
1 |
/*
|
|
2 |
* Copyright (c) 2002-2005 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: Declaration of MPhoneHandlerService interface.
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
#ifndef MPHONEHANDLERSERVICE_H
|
|
20 |
#define MPHONEHANDLERSERVICE_H
|
|
21 |
|
|
22 |
// INCLUDES
|
|
23 |
#include <e32base.h>
|
|
24 |
|
|
25 |
// CONSTANTS
|
|
26 |
|
|
27 |
// MACROS
|
|
28 |
|
|
29 |
// DATA TYPES
|
|
30 |
|
|
31 |
// FUNCTION PROTOTYPES
|
|
32 |
|
|
33 |
// FORWARD DECLARATIONS
|
|
34 |
|
|
35 |
// CLASS DECLARATION
|
|
36 |
|
|
37 |
/**
|
|
38 |
* Interface to control objects that perform call handling key presses.
|
|
39 |
*
|
|
40 |
* @lib PhoneCmdHandler
|
|
41 |
* @since S60 3.1
|
|
42 |
*/
|
|
43 |
class MPhoneHandlerService
|
|
44 |
{
|
|
45 |
public: // Constructors and destructor
|
|
46 |
|
|
47 |
public: // New functions
|
|
48 |
|
|
49 |
/**
|
|
50 |
* Starts to process an asynchronous request.
|
|
51 |
* @since Series 60 3.1
|
|
52 |
* @param
|
|
53 |
* @return
|
|
54 |
*/
|
|
55 |
virtual void Process() = 0;
|
|
56 |
|
|
57 |
/**
|
|
58 |
* Deletes service object.
|
|
59 |
* @since Series 60 3.1
|
|
60 |
* @param
|
|
61 |
* @return
|
|
62 |
*/
|
|
63 |
virtual void Delete() = 0;
|
|
64 |
|
|
65 |
public: // Functions from base classes
|
|
66 |
|
|
67 |
protected: // New functions
|
|
68 |
|
|
69 |
protected: // Functions from base classes
|
|
70 |
|
|
71 |
private:
|
|
72 |
|
|
73 |
public: // Data
|
|
74 |
|
|
75 |
protected: // Data
|
|
76 |
|
|
77 |
private: // Data
|
|
78 |
|
|
79 |
public: // Friend classes
|
|
80 |
|
|
81 |
protected: // Friend classes
|
|
82 |
|
|
83 |
private: // Friend classes
|
|
84 |
|
|
85 |
};
|
|
86 |
|
|
87 |
#endif // MPHONEHANDLERSERVICE_H
|
|
88 |
|
|
89 |
// End of File
|
|
90 |
|