homescreenpluginsrv/hspsmanager/inc/hspsthemeserver.h
branchRCL_3
changeset 18 bd874ee5e5e2
parent 9 d0529222e3f0
child 19 502e5d91ad42
equal deleted inserted replaced
9:d0529222e3f0 18:bd874ee5e5e2
   207 class ChspsDefinitionEngineInterface;
   207 class ChspsDefinitionEngineInterface;
   208 class CRepository;
   208 class CRepository;
   209 class ChspsSecurityEnforcer;
   209 class ChspsSecurityEnforcer;
   210 class ChspsRomInstaller;
   210 class ChspsRomInstaller;
   211 class ChspsAutoInstaller;
   211 class ChspsAutoInstaller;
       
   212 class ChspsThemeServerSession;
   212 
   213 
   213 #ifdef HSPS_LOG_ACTIVE
   214 #ifdef HSPS_LOG_ACTIVE
   214 class ChspsLogBus;
   215 class ChspsLogBus;
   215 #endif
   216 #endif
   216 
   217 
   394     */
   395     */
   395     static CServer2* NewLC();
   396     static CServer2* NewLC();
   396     
   397     
   397     /**
   398     /**
   398     * AddSession
   399     * AddSession
   399     * @since S60 3.1
   400     * 
   400     */
   401     * @param aSession   Session that is added. Ownership not transferred!.
   401     void AddSession();
   402     * 
       
   403     * @since S60 3.1
       
   404     */
       
   405     void AddSession( ChspsThemeServerSession* aSession );
   402     
   406     
   403     /**
   407     /**
   404     * DropSession
   408     * DropSession
   405     * @since S60 3.1
   409     * 
   406     */
   410     * @param aSession   Session that is dropped. Ownership not transferred!.
   407     void DropSession();
   411     * 
       
   412     * @since S60 3.1
       
   413     */
       
   414     void DropSession( ChspsThemeServerSession* aSession );
   408     
   415     
   409 public: // public functions
   416 public: // public functions
   410 	
   417 	
   411     /**
   418     /**
   412     * UpdateHeaderListCacheL
   419     * UpdateHeaderListCacheL
   995      * @since S60 5.0 
  1002      * @since S60 5.0 
   996      */
  1003      */
   997     void ActivateRootConfigurationsL();
  1004     void ActivateRootConfigurationsL();
   998            
  1005            
   999 #endif // defined(WINSCW)
  1006 #endif // defined(WINSCW)
  1000     
  1007         
  1001     
       
  1002 private:
       
  1003     TInt iSessionCount;
       
  1004     
       
  1005 #ifdef _hsps_SERVER_SHUTDOWN_ENABLED_    
  1008 #ifdef _hsps_SERVER_SHUTDOWN_ENABLED_    
  1006     CShutdown* iShutdown;
  1009     CShutdown* iShutdown;
  1007 #endif // _hsps_SERVER_SHUTDOWN_ENABLED_
  1010 #endif // _hsps_SERVER_SHUTDOWN_ENABLED_
  1008 
  1011 
  1009     /* 
  1012     /* 
  1082     /**
  1085     /**
  1083      * Log bus.
  1086      * Log bus.
  1084      */        
  1087      */        
  1085     ChspsLogBus* iLogBus;
  1088     ChspsLogBus* iLogBus;
  1086 #endif    
  1089 #endif    
       
  1090     
       
  1091     RPointerArray<ChspsThemeServerSession> iSessions; // Sessions not owned!
  1087     };
  1092     };
  1088 
  1093 
  1089 #endif //__hspsTHEMESERVER_H__
  1094 #endif //__hspsTHEMESERVER_H__