homescreenpluginsrv/hspsmanager/inc/hspsthemeserver.h
branchRCL_3
changeset 14 15e4dd19031c
parent 12 502e5d91ad42
child 19 edd621764147
equal deleted inserted replaced
12:502e5d91ad42 14:15e4dd19031c
   177 
   177 
   178 /** hspsThemeServer name: */
   178 /** hspsThemeServer name: */
   179 _LIT(KhspsThemeServerName,"hspsthemeserver");
   179 _LIT(KhspsThemeServerName,"hspsthemeserver");
   180 
   180 
   181 /** Supported manifest version */
   181 /** Supported manifest version */
   182 _LIT(KhspsSupportedManifestVersion,"1.0");
   182 _LIT(KhspsSupportedManifestVersion,"2.0");
   183 
   183 
   184 /** hspsThemeServer Uid3 = SECUREID. */
   184 /** hspsThemeServer Uid3 = SECUREID. */
   185 const TUid KhspsThemeServerUid3 = {0x200159C0}; //old uid 0x10207254};
   185 const TUid KhspsThemeServerUid3 = {0x200159C0}; //old uid 0x10207254};
   186 
   186 
   187 /** 
   187 /** 
   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 class ChspsThemeServerSession;
       
   213 class ChspsFamily;
   213 
   214 
   214 #ifdef HSPS_LOG_ACTIVE
   215 #ifdef HSPS_LOG_ACTIVE
   215 class ChspsLogBus;
   216 class ChspsLogBus;
   216 #endif
   217 #endif
   217 
   218 
   629     * @since S60 5.0
   630     * @since S60 5.0
   630     * @param aAppUid Identifies the application    
   631     * @param aAppUid Identifies the application    
   631     * @returns The active family
   632     * @returns The active family
   632     */
   633     */
   633    TUint32 GetActiveFamilyL( 
   634    TUint32 GetActiveFamilyL( 
   634            const TInt aAppUid );      
   635            const TInt aAppUid );    
       
   636 
       
   637    /**
       
   638     * Installs widgets located at \private\200159C0\install\ directories.
       
   639     * @since S60 5.0 
       
   640     */
       
   641    void InstallWidgetsL();   
       
   642    
       
   643    /**
       
   644     * Install all widgets from uda
       
   645     * @since S60 5.2
       
   646     */
       
   647    void InstallUDAWidgetsL();   
   635    
   648    
   636 public: // from MhspsFileChangeObserver
   649 public: // from MhspsFileChangeObserver
   637 	
   650 	
   638     /**
   651     /**
   639     * HandleFileSystemChange
   652     * HandleFileSystemChange
   669     
   682     
   670 public: // from MhspsCenRepObserver
   683 public: // from MhspsCenRepObserver
   671          
   684          
   672     void HandleCenRepChangeL( const TUint32 aId );    
   685     void HandleCenRepChangeL( const TUint32 aId );    
   673      
   686      
   674 #if defined(WINSCW) || defined(__WINS__)    
   687     
   675 public: // from MshspFamilyObserver    
   688 public: // from MshspFamilyObserver    
   676     TBool HandleFamilyChangeL( const ThspsFamily aNewFamily );
   689     TBool HandleFamilyChangeL( const ThspsFamily aNewFamily );
   677 #endif // defined(WINSCW)
   690 
       
   691     ChspsFamily* Family();
   678     
   692     
   679 private:
   693 private:
   680 	
   694 	
   681     /**
   695     /**
   682     * ChspsThemeServer
   696     * ChspsThemeServer
   804      * operation has been executed (controlled via the Central Repository).    
   818      * operation has been executed (controlled via the Central Repository).    
   805      * This function is executed at bootup when the server starts. 
   819      * This function is executed at bootup when the server starts. 
   806      * @since S60 5.0 
   820      * @since S60 5.0 
   807      */
   821      */
   808     void HandleRomInstallationsL();
   822     void HandleRomInstallationsL();
   809     
       
   810     /**
       
   811      * Installs widgets located at \private\200159C0\install\ directories.
       
   812      * @since S60 5.0 
       
   813      */
       
   814     void InstallWidgetsL();
       
   815                                         
   823                                         
   816     /**
   824     /**
   817      * Initiates uninstallation of a manifest file located under the imports folder.
   825      * Initiates uninstallation of a manifest file located under the imports folder.
   818      * @since S60 5.0
   826      * @since S60 5.0
   819      * @param aFilelist is a list of dat files under the imports folder or NULL 
   827      * @param aFilelist is a list of dat files under the imports folder or NULL 
   975      * @since S60 5.0
   983      * @since S60 5.0
   976      * @param aOdt is reference to application configuration to be restored
   984      * @param aOdt is reference to application configuration to be restored
   977      */
   985      */
   978     void RestoreConfigurationL(
   986     void RestoreConfigurationL(
   979         ChspsODT& aOdt );
   987         ChspsODT& aOdt );
   980     
   988 
   981     /**
   989 #if defined(WINSCW) || defined(__WINS__)
   982      * Install all widgets from uda
       
   983      * @since S60 5.2
       
   984      */
       
   985     void InstallUDAWidgetsL();
       
   986     
       
   987 #if defined(WINSCW) || defined(__WINS__)    
       
   988 
       
   989     /**
   990     /**
   990      * Executed at startup to activate root configurations which were designed
   991      * Executed at startup to activate root configurations which were designed
   991      * for the current resolution.
   992      * for the current resolution.
   992      * @since S60 5.0 
   993      * @since S60 5.0 
   993      */
   994      */
   994     void ActivateRootConfigurationsL();
   995     void ActivateRootConfigurationsL();
   995            
   996            
   996 #endif // defined(WINSCW)
   997 #endif // defined(WINSCW) || defined(__WINS__)
   997         
   998         
   998 #ifdef _hsps_SERVER_SHUTDOWN_ENABLED_    
   999 #ifdef _hsps_SERVER_SHUTDOWN_ENABLED_    
   999     CShutdown* iShutdown;
  1000     CShutdown* iShutdown;
  1000 #endif // _hsps_SERVER_SHUTDOWN_ENABLED_
  1001 #endif // _hsps_SERVER_SHUTDOWN_ENABLED_
  1001 
  1002 
  1064     
  1065     
  1065     // Backup handler
  1066     // Backup handler
  1066     CHSPSBRHandler* iBRHandler;
  1067     CHSPSBRHandler* iBRHandler;
  1067     
  1068     
  1068 
  1069 
  1069 #if defined(WINSCW) || defined(__WINS__)
  1070 
  1070     // Listener for resolution and orientation changes
  1071     // Family handler, own
  1071     ChspsFamilyListener* iFamilyListener;
  1072     ChspsFamily* iFamily;
  1072 #endif // defined(WINSCW)    
  1073     
  1073     
  1074     
  1074 #ifdef HSPS_LOG_ACTIVE    
  1075 #ifdef HSPS_LOG_ACTIVE    
  1075     /**
  1076     /**
  1076      * Log bus.
  1077      * Log bus.
  1077      */        
  1078      */