src/hbwidgets/devicedialogs/hbdevicemessageboxsymbian.h
changeset 7 923ff622b8b9
parent 5 627c4a0fd0e7
child 23 e6ad4ef83b23
child 34 ed14f46c0e55
--- a/src/hbwidgets/devicedialogs/hbdevicemessageboxsymbian.h	Wed Jun 23 18:33:25 2010 +0300
+++ b/src/hbwidgets/devicedialogs/hbdevicemessageboxsymbian.h	Tue Jul 06 14:36:53 2010 +0300
@@ -37,6 +37,7 @@
 {
 public:
     enum TType {
+        ENone,
         EInformation,
         EQuestion,
         EWarning
@@ -50,12 +51,13 @@
 
 public:
 
-    IMPORT_C static CHbDeviceMessageBoxSymbian* NewL(TType aType = EInformation,
+    IMPORT_C static CHbDeviceMessageBoxSymbian* NewL(TType aType = ENone,
         MHbDeviceMessageBoxObserver *aObserver = 0);
     IMPORT_C ~CHbDeviceMessageBoxSymbian();
 
     IMPORT_C static TButtonId QuestionL(const TDesC& aText,
         const TDesC& aAcceptButtonText, const TDesC& aRejectButtonText);
+    IMPORT_C static TButtonId QuestionL(const TDesC& aText, TUint aStandardButtons = 0);
     IMPORT_C static void InformationL(const TDesC& aText);
     IMPORT_C static void WarningL(const TDesC& aText);
 
@@ -91,6 +93,9 @@
     IMPORT_C void SetButton(TButtonId aButton, TBool aEnable);
     IMPORT_C TBool HasButton(TButtonId aButton) const;
 
+    IMPORT_C void SetStandardButtons(TUint aButtons);
+    IMPORT_C TUint StandardButtons() const;
+
     IMPORT_C void SetObserver(MHbDeviceMessageBoxObserver *aObserver);
 
 private: