|
1 /* |
|
2 * Copyright (c) 2006-2007 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 the License "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: Statemachine for deleting a traffic stream. |
|
15 * |
|
16 */ |
|
17 |
|
18 /* |
|
19 * %version: 3 % |
|
20 */ |
|
21 |
|
22 #ifndef CORE_OPERATION_DELETE_TS_H |
|
23 #define CORE_OPERATION_DELETE_TS_H |
|
24 |
|
25 #include "core_operation_base.h" |
|
26 #include "abs_core_frame_handler.h" |
|
27 |
|
28 /** |
|
29 * Statemachine for deleting a traffic stream. |
|
30 * |
|
31 * @lib wlmserversrv.lib |
|
32 * @since S60 v3.1 |
|
33 */ |
|
34 NONSHARABLE_CLASS( core_operation_delete_ts_c ) : |
|
35 public core_operation_base_c |
|
36 { |
|
37 |
|
38 public: |
|
39 |
|
40 enum core_state_e |
|
41 { |
|
42 core_state_init = core_base_state_next, |
|
43 core_base_state_parameters_set, |
|
44 core_state_MAX |
|
45 }; |
|
46 |
|
47 core_operation_delete_ts_c( |
|
48 u32_t request_id, |
|
49 core_server_c* server, |
|
50 abs_core_driverif_c* drivers, |
|
51 abs_core_server_callback_c* adaptation, |
|
52 u32_t stream_id ); |
|
53 |
|
54 virtual ~core_operation_delete_ts_c(); |
|
55 |
|
56 protected: |
|
57 |
|
58 /** |
|
59 * This method is called when a pending request has been completed |
|
60 * and so sub-operations are pending. |
|
61 * |
|
62 * @since S60 v3.1 |
|
63 * @return status of the operation: |
|
64 * core_error_request_pending if the operation is not finished, |
|
65 * otherwise the status code of the finished operation |
|
66 */ |
|
67 core_error_e next_state(); |
|
68 |
|
69 private: // data |
|
70 |
|
71 /** |
|
72 * The ID of the traffic stream. |
|
73 */ |
|
74 u32_t id_m; |
|
75 |
|
76 }; |
|
77 |
|
78 #endif // CORE_OPERATION_DELETE_TS_H |