wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/inc/wlmsystemnotify.h
changeset 19 629e60dfa279
parent 0 c40eb8fe8501
child 22 c6a1762761b8
--- a/wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/inc/wlmsystemnotify.h	Mon May 03 14:14:02 2010 +0300
+++ b/wlan_bearer/wlanengine/wlan_symbian/wlanengine_symbian_3.1/inc/wlmsystemnotify.h	Fri May 14 17:41:09 2010 +0300
@@ -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