59 |
66 |
60 int joinWlanMode() const; |
67 int joinWlanMode() const; |
61 |
68 |
62 int setJoinWlanMode(int mode); |
69 int setJoinWlanMode(int mode); |
63 |
70 |
64 int isPowerSavingEnabled() const; |
71 bool isWlanPowerSavingEnabled() const; |
65 |
72 |
66 int isPsmEnabled() const; |
73 bool isDevicePowerSavingEnabled(); |
67 |
74 |
68 int setWlanPowerSaving(int powerSavingOption); |
75 int setWlanPowerSaving(int powerSavingOption); |
69 |
76 |
70 int setWlanScanInterval(uint scanInterval); |
77 int setWlanScanInterval(uint scanInterval); |
71 |
78 |
|
79 signals: |
|
80 |
|
81 void devicePowerSavingUpdated(); |
|
82 |
|
83 public slots: |
|
84 |
|
85 protected: |
|
86 |
|
87 protected slots: |
|
88 |
72 private: |
89 private: |
|
90 |
|
91 Q_DISABLE_COPY(WlanSettings) |
|
92 |
|
93 void readDevicePowerSavingKey(); |
|
94 |
|
95 private slots: |
|
96 |
|
97 void devicePowerSavingKeyChanged(); |
|
98 |
|
99 private: // data |
|
100 |
|
101 //! Private Symbian specific implementation. |
|
102 CWlanSettingsPrivate *d_ptr; |
73 |
103 |
74 void readPsmKey(); |
104 //! Settings manager for platform settings reading & status changes. |
|
105 XQSettingsManager *mSettingsManager; |
75 |
106 |
76 Q_DISABLE_COPY(WlanSettings) |
107 //! Device Power Saving Mode. |
|
108 int mDevicePowerSavingMode; |
77 |
109 |
78 private: //data |
110 //! Is mDevicePowerSavingMode up to date, or do we need to read it again? |
79 |
111 bool mDevicePowerSavingModeUpToDate; |
80 CWlanSettingsPrivate *mImpl; |
|
81 |
|
82 int mPsmKeyValue; |
|
83 |
|
84 }; |
112 }; |
85 |
113 |
86 |
|
87 #endif /* WLANSETTINGS_H_ */ |
114 #endif /* WLANSETTINGS_H_ */ |