phoneapp/phoneuiutils/inc/tphonecmdparamglobalnote.h
changeset 30 ebdbd102c78a
parent 0 5f000ab63145
child 51 f39ed5e045e0
--- a/phoneapp/phoneuiutils/inc/tphonecmdparamglobalnote.h	Mon May 03 12:31:11 2010 +0300
+++ b/phoneapp/phoneuiutils/inc/tphonecmdparamglobalnote.h	Fri May 14 15:51:57 2010 +0300
@@ -80,6 +80,13 @@
         */
         IMPORT_C void SetSoftkeys( TInt aSoftkeys );
 
+        /**
+        * Sets timeout for a note.
+        * @param    aTimeout    Timeout in milliseconds. If timeout == 0 then 
+        * default timeout is used. If timeout < 0 the note is not closed 
+        * automatically.
+        */
+        IMPORT_C void SetTimeout( TInt aTimeout );
         
         /**
         * Returns the global note type
@@ -115,8 +122,14 @@
         * Returns the global note softkeys.
         * @return Returns the global note softkeys
         */
-        IMPORT_C TInt Softkeys() const;      
- 
+        IMPORT_C TInt Softkeys() const;
+        
+        /**
+         * Returns the timeout value.
+         * @return   Timeout value.
+         */
+        IMPORT_C TInt Timeout() const;
+    
     private:    
         
         /**
@@ -148,7 +161,11 @@
         * Global note softkeys
         */
         TInt iSoftkeys;
-
+        
+        /**
+        * Timeout for a note.
+        */
+        TInt iTimeout;
     };
 
 #endif // __TPHONECMDPARAMGLOBALNOTE_H