phonesrv_plat/phone_settings_api/inc/psetcallbarringwrapper.h
changeset 15 d7fc66ccd6fb
parent 13 e32024264ebb
child 48 78df25012fda
--- a/phonesrv_plat/phone_settings_api/inc/psetcallbarringwrapper.h	Fri Apr 16 15:31:58 2010 +0300
+++ b/phonesrv_plat/phone_settings_api/inc/psetcallbarringwrapper.h	Mon May 03 13:01:45 2010 +0300
@@ -112,6 +112,18 @@
         BarringType barringType,
         QString barringPassword);
     
+    /**
+     * Changes barring password. Maximum password length is 10.
+     * 
+     * @param   oldPassword         Old barring password.
+     * @param   newPassword         New barring password.
+     * @param   verifiedPassword    New password verified.
+     */
+    void changeBarringPassword(
+        const QString &oldPassword, 
+        const QString &newPassword,
+        const QString &verifiedPassword);
+    
 signals:
     
     /**
@@ -161,6 +173,14 @@
         PSetCallBarringWrapper::BarringStatus barringStatus, 
         bool plural);
     
+    /**
+     * This signal is emitted when barring password change request is completed.
+     * 
+     * @param   result                  0 if request was completed successfully 
+     * or error code defined either in gsmerror.h or exterror.h.
+     */
+    void barringPasswordChangeRequestCompleted(int result);
+    
 private: // data 
     
     /** Own. Private implementation. */