wlan_bearer/wlanengine/wlan_common/wlanengine_common_3.1/src/core_operation_null.cpp
changeset 0 c40eb8fe8501
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/wlan_bearer/wlanengine/wlan_common/wlanengine_common_3.1/src/core_operation_null.cpp	Tue Feb 02 02:03:13 2010 +0200
@@ -0,0 +1,59 @@
+/*
+* Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:  Statemachine for null operation (does nothing)
+*
+*/
+
+
+#include "core_operation_null.h"
+#include "core_server.h"
+#include "am_debug.h"
+
+// ======== MEMBER FUNCTIONS ========
+
+// ---------------------------------------------------------------------------
+// ---------------------------------------------------------------------------
+//
+core_operation_null_c::core_operation_null_c(
+    u32_t request_id,
+    core_server_c* server,
+    abs_core_driverif_c* drivers,
+    abs_core_server_callback_c* adaptation,
+    core_error_e status ) :
+    core_operation_base_c( core_operation_null, request_id, server, drivers, adaptation,
+        core_base_flag_none ),
+    status_m( status )
+    {
+    DEBUG( "core_operation_null_c::core_operation_null_c()" );
+    }
+
+// ---------------------------------------------------------------------------
+// ---------------------------------------------------------------------------
+//
+core_operation_null_c::~core_operation_null_c()
+    {
+    DEBUG( "core_operation_null_c::~core_operation_null_c()" );
+    }
+    
+// ---------------------------------------------------------------------------
+// ---------------------------------------------------------------------------
+//
+core_error_e core_operation_null_c::next_state()
+    {
+    DEBUG( "core_operation_null_c::next_state()" );
+    DEBUG1( "core_operation_null_c::next_state() - completing request with %u",
+        status_m );
+
+    return status_m;
+    }