--- a/wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/inc/wlmsystemnotify.h Thu Aug 19 11:40:48 2010 +0300
+++ b/wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/inc/wlmsystemnotify.h Tue Aug 31 17:02:06 2010 +0300
@@ -1,5 +1,5 @@
/*
-* Copyright (c) 2002-2006 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2002-2010 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"
@@ -20,6 +20,7 @@
#define WLMSYSTEMNOTIFY_H
#include "wlmclientserver.h"
+#include "wlanerrorcodes.h"
enum TWlmIconStatus
{
@@ -29,6 +30,18 @@
EWlmIconStatusConnectedSecure
};
+/**
+ * WLAN on/off states are used as status codes for status
+ * requests and therefore they are mapped directly to
+ * corresponding error codes.
+ */
+enum TWlanOnOffState
+ {
+ EWlanOff = KErrWlanOff,
+ EWlanForceOff = KErrWlanForceOff,
+ EWlanOn = 0
+ };
+
/**
* Callback interface for system data notification services.
*
@@ -67,6 +80,16 @@
* BT connection has been disconnected.
*/
virtual void BtConnectionDisabled() = 0;
+
+ /**
+ * WLAN has been set ON.
+ */
+ virtual void WlanOn() = 0;
+
+ /**
+ * WLAN has been set OFF.
+ */
+ virtual void WlanOff() = 0;
};
#endif // WLMSYSTEMNOTIFY_H