featuremgmt/featuremgr/src/serverexe/featmgrfeatureregistry.h
branchRCL_3
changeset 9 667e88a979d7
parent 0 08ec8eefde2f
child 10 31a8f755b7fe
equal deleted inserted replaced
8:fa9941cf3867 9:667e88a979d7
   106         void ReadRuntimeFeaturesL( TBool &aFeaturesReady );
   106         void ReadRuntimeFeaturesL( TBool &aFeaturesReady );
   107 
   107 
   108         /**
   108         /**
   109         * Merges features to common feature array from plugin.
   109         * Merges features to common feature array from plugin.
   110         */
   110         */
   111         void MergePluginFeatures( RArray<FeatureInfoCommand::TFeature>& aList );
   111         void MergePluginFeaturesL( RArray<FeatureInfoCommand::TFeature>& aList );
   112 
   112 
   113         /**
   113         /**
   114         * Merges features to common feature array from plugin.
   114         * Merges features to common feature array from plugin.
   115         */
   115         */
   116         void MergePluginFeatures( RFeatureArray& aList );
   116         void MergePluginFeaturesL( RFeatureArray& aList );
   117 
   117 
   118         /**
   118         /**
   119         * Returns feature support status.
   119         * Returns feature support status.
   120         */
   120         */
   121         TInt IsFeatureSupported( TFeatureServerEntry& aFeature );
   121         TInt IsFeatureSupported( TFeatureServerEntry& aFeature );
   159         
   159         
   160         /**
   160         /**
   161 		 * This function will handle the required notifications for new, deleted and changed features
   161 		 * This function will handle the required notifications for new, deleted and changed features
   162 		 * after a restore operation has taken place.
   162 		 * after a restore operation has taken place.
   163          */ 
   163          */ 
   164         TInt HandleRestoredFeatureNotificationsL( void );
   164         void HandleRestoredFeatureNotificationsL();
   165         
   165         
   166         /**
   166         /**
   167 		 * Returns the fully qualified path and filename for the runtime feature data file.
   167 		 * Returns the fully qualified path and filename for the runtime feature data file.
   168          */ 
   168          */ 
   169         TFileName GetFeaturesFilePathAndName( void );
   169         TFileName GetFeaturesFilePathAndName( void );
   241         static TInt FindByUid( const TFeatureServerEntry& aFeature, 
   241         static TInt FindByUid( const TFeatureServerEntry& aFeature, 
   242         const TFeatureServerEntry& aItem );
   242         const TFeatureServerEntry& aItem );
   243         void ValidateHeaderL( RFileReadStream& stream, TUint32& count, TUint32& countDSRs );
   243         void ValidateHeaderL( RFileReadStream& stream, TUint32& count, TUint32& countDSRs );
   244         void WriteHeaderAndEntriesL( RFileWriteStream &aStream, RFeatureServerArray& aArray );
   244         void WriteHeaderAndEntriesL( RFileWriteStream &aStream, RFeatureServerArray& aArray );
   245         TInt ValidateFeatureFlag(TBitFlags32 aFlags);
   245         TInt ValidateFeatureFlag(TBitFlags32 aFlags);
   246         TInt ValidateRuntimeFeatureFlagL(TBitFlags32 aFlags);
   246         void ValidateRuntimeFeatureFlagL(TBitFlags32 aFlags);
   247         
   247         
   248      private:
   248      private:
   249         
   249         
   250         // Observer of feature changes
   250         // Observer of feature changes
   251         MFeatMgrRegistryObserver& iObserver;
   251         MFeatMgrRegistryObserver& iObserver;