|
1 /* |
|
2 * Copyright (c) 2005-2006 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 null operation (does nothing) |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "core_operation_null.h" |
|
20 #include "core_server.h" |
|
21 #include "am_debug.h" |
|
22 |
|
23 // ======== MEMBER FUNCTIONS ======== |
|
24 |
|
25 // --------------------------------------------------------------------------- |
|
26 // --------------------------------------------------------------------------- |
|
27 // |
|
28 core_operation_null_c::core_operation_null_c( |
|
29 u32_t request_id, |
|
30 core_server_c* server, |
|
31 abs_core_driverif_c* drivers, |
|
32 abs_core_server_callback_c* adaptation, |
|
33 core_error_e status ) : |
|
34 core_operation_base_c( core_operation_null, request_id, server, drivers, adaptation, |
|
35 core_base_flag_none ), |
|
36 status_m( status ) |
|
37 { |
|
38 DEBUG( "core_operation_null_c::core_operation_null_c()" ); |
|
39 } |
|
40 |
|
41 // --------------------------------------------------------------------------- |
|
42 // --------------------------------------------------------------------------- |
|
43 // |
|
44 core_operation_null_c::~core_operation_null_c() |
|
45 { |
|
46 DEBUG( "core_operation_null_c::~core_operation_null_c()" ); |
|
47 } |
|
48 |
|
49 // --------------------------------------------------------------------------- |
|
50 // --------------------------------------------------------------------------- |
|
51 // |
|
52 core_error_e core_operation_null_c::next_state() |
|
53 { |
|
54 DEBUG( "core_operation_null_c::next_state()" ); |
|
55 DEBUG1( "core_operation_null_c::next_state() - completing request with %u", |
|
56 status_m ); |
|
57 |
|
58 return status_m; |
|
59 } |