photosgallery/commonui/inc/glxnavigationalstate.h
changeset 2 7d9067c6fcb1
parent 0 4e91876724a2
equal deleted inserted replaced
1:9ba538e329bd 2:7d9067c6fcb1
   109      
   109      
   110      /**
   110      /**
   111      * Sets the mode to "view"
   111      * Sets the mode to "view"
   112      */
   112      */
   113      IMPORT_C void SetToViewMode();
   113      IMPORT_C void SetToViewMode();
   114 
   114      
       
   115      /**
       
   116      * Sets the BackExitStatus
       
   117      * @param aStatus ETrue photos navigates to parent on Back EFalse photos exits on back.
       
   118      */
   115      IMPORT_C void SetBackExitStatus(TBool aStatus);
   119      IMPORT_C void SetBackExitStatus(TBool aStatus);
   116      
   120      
       
   121      /**
       
   122      * Gets the BackExitStatus
       
   123      * @return BackExitStatus
       
   124      */          
   117      IMPORT_C TBool BackExitStatus();
   125      IMPORT_C TBool BackExitStatus();
       
   126      
       
   127      /**
       
   128      * Sets the starting navigation level
       
   129      * @param aLevel starting level
       
   130      */
       
   131      IMPORT_C void SetStartingLevel(TInt aLevel);
       
   132      
       
   133      /**
       
   134      * Gets the starting navigation level
       
   135      * @return starting navigation level
       
   136      */     
       
   137      IMPORT_C TInt StartingLevel();
   118   
   138   
   119 private:
   139 private:
   120     /** Constructor for singleton store */
   140     /** Constructor for singleton store */
   121     static CGlxNavigationalState* NewL();
   141     static CGlxNavigationalState* NewL();
   122     
   142     
   125 
   145 
   126 private:
   146 private:
   127     /// Implementation 
   147     /// Implementation 
   128     CGlxNavigationalStateImp* iImp;
   148     CGlxNavigationalStateImp* iImp;
   129     
   149     
   130 public:
       
   131     TBool iBackExitStatus;
   150     TBool iBackExitStatus;
       
   151     
       
   152     TInt iStartingLevel ;
       
   153     
   132     };
   154     };
   133     
   155     
   134     
   156     
   135 #endif // __C_GLXNAVIGATIONALSTATE_H__
   157 #endif // __C_GLXNAVIGATIONALSTATE_H__