voicerecorder/AppSrc/CVRAppUi.h
branchRCL_3
changeset 13 4e5b531d23cb
parent 10 bb90e4148332
child 19 2f5c9ee7098c
--- a/voicerecorder/AppSrc/CVRAppUi.h	Tue Apr 27 16:40:59 2010 +0300
+++ b/voicerecorder/AppSrc/CVRAppUi.h	Tue May 11 16:15:58 2010 +0300
@@ -27,11 +27,12 @@
 #include <apparc.h>			// MApaEmbeddedDocObserver
 
 #include "MVREmbeddedObserver.h"
-
+#include "VRUSBStateHanlder.h"
 // FORWARD DECLARATIONS
 class MVRSelectionProvider;
 class CErrorUI;
 class MVRLayoutChangeObserver;
+class CAknWaitDialog;
 
 // CLASS DECLARATION
 /**
@@ -104,7 +105,10 @@
 		*/
 		
 		void HandleApplicationSpecificEventL(TInt aType, const TWsEvent& aEvent);
-		
+
+	private: // from MVRUSBEventObserver
+		void HandleUSBEventL();
+	
 	private: // new methods
 
 		/**
@@ -114,12 +118,23 @@
 		*/
 		MVRSelectionProvider* SelectionProviderL();
 
-		/**
-		* Check USB connection state
-		* interface.
-		* @return True/False
-		*/        
-        TBool IsUsbActive();
+       	
+       	/**
+       	* This method show a dialog to warn user to insert the SD card.
+       	* @return if user insert the SD card or not
+       	*/
+       	static TBool ShowDialogForWaitStorageCardL();
+       	
+        /**
+        * This method show a dialog to warn user to plug the usb cable.
+        * @return if user plug the usb cable or not
+        */
+        static TBool ShowDialogForWaitUSBPluggingOutL();       	
+       	
+       	/**
+       	 * Make user insert the SD card, and choose SD card as the memo storage
+       	 */
+       	void SetDriveL();
 
 	private: // data
 		/**
@@ -148,7 +163,8 @@
 		/*
 		* For help context, whether settings page is active.
 		*/
-		TBool iIsSettingsOpen;
+		TBool iIsSettingsOpen;		
+
 
 	};