camerauis/cameraapp/generic/inc/CamAppUi.h
branchRCL_3
changeset 12 8c55c525d5d7
parent 7 dbec5787fa68
child 16 d486e5e3cc9a
equal deleted inserted replaced
11:792dfc98fb3b 12:8c55c525d5d7
   615         /**
   615         /**
   616         * Indicates whether or not the application is in a simulated exit situation
   616         * Indicates whether or not the application is in a simulated exit situation
   617         * @return ETrue if the application has pretended to exit, else EFalse 
   617         * @return ETrue if the application has pretended to exit, else EFalse 
   618         */
   618         */
   619         TBool IsInPretendExit() const;
   619         TBool IsInPretendExit() const;
   620 
   620         
       
   621         /**
       
   622         * Indicates whether or not the application was in a simulated exit situation
       
   623         * @return ETrue if the application had pretended to exit, else EFalse 
       
   624         */
       
   625         TBool ReturningFromPretendExit() const; 
       
   626         
       
   627         /**
       
   628         * Indicates whether or not the application started the first time
       
   629         * @return ETrue if the application booted first time, else EFalse 
       
   630         */
       
   631         TBool IsFirstBoot() const; 
       
   632                 
   621         /**
   633         /**
   622         * Returns whether an MMC removed note is pending
   634         * Returns whether an MMC removed note is pending
   623         * @since 3.0
   635         * @since 3.0
   624         * @return TBool ETrue if the UI needs to show an MMC 
   636         * @return TBool ETrue if the UI needs to show an MMC 
   625         */
   637         */
   987         /**
   999         /**
   988         * Checks if all memories are full and unavailable
  1000         * Checks if all memories are full and unavailable
   989         * @return ETrue if all memories are full or unavailable
  1001         * @return ETrue if all memories are full or unavailable
   990         **/
  1002         **/
   991         TBool AllMemoriesFullOrUnavailable() const;
  1003         TBool AllMemoriesFullOrUnavailable() const;
       
  1004         
       
  1005         /**
       
  1006         * Checks the availability of memory on the currently selected 
       
  1007         * mediastorage for capturing images or video, result saved
       
  1008         * in iMemoryAvailableForCapturing
       
  1009         **/
       
  1010         void CheckMemoryAvailableForCapturing();
       
  1011         
       
  1012         /**
       
  1013         * Returns the previously saved availability of memory
       
  1014         * @return ETrue if memory available for capturing
       
  1015         **/
       
  1016         TBool IsMemoryAvailableForCapturing() const;
       
  1017         
   992 
  1018 
   993             
  1019             
   994     private: // New functions
  1020     private: // New functions
   995 
  1021 
   996       /**
  1022       /**
  1654 
  1680 
  1655         // Set to true in the case where we pretend to exit the app, but are still really
  1681         // Set to true in the case where we pretend to exit the app, but are still really
  1656         // running in the background. The app should behave slightly differently when we 
  1682         // running in the background. The app should behave slightly differently when we 
  1657         // are next brought to the foreground.
  1683         // are next brought to the foreground.
  1658         TBool iPretendExit;
  1684         TBool iPretendExit;
       
  1685         TBool iReturningFromPretendExit; 
  1659 
  1686 
  1660         // flag to indicate whether we are currently embedding another application
  1687         // flag to indicate whether we are currently embedding another application
  1661         TBool iEmbedding;
  1688         TBool iEmbedding;
  1662 
  1689 
  1663         // flag to indicate if "Send As" is in progress
  1690         // flag to indicate if "Send As" is in progress
  1774         //Flag to monitor viewfinder window handle switch
  1801         //Flag to monitor viewfinder window handle switch
  1775         TBool iViewFinderInTransit;
  1802         TBool iViewFinderInTransit;
  1776 
  1803 
  1777 		TInt iLandscapeScreenMode;
  1804 		TInt iLandscapeScreenMode;
  1778         TInt iPortraitScreenMode;
  1805         TInt iPortraitScreenMode;
       
  1806         
       
  1807         TBool iMemoryAvailableForCapturing;
  1779         };
  1808         };
  1780 
  1809 
  1781 // ===========================================================================
  1810 // ===========================================================================
  1782 // Debug strings
  1811 // Debug strings
  1783 
  1812