idlefw/plugins/mcsplugin/publisher/inc/mcspluginengine.h
branchRCL_3
changeset 18 bd874ee5e5e2
parent 9 d0529222e3f0
child 19 502e5d91ad42
equal deleted inserted replaced
9:d0529222e3f0 18:bd874ee5e5e2
   154 
   154 
   155     /**
   155     /**
   156      * ShowSettingsL
   156      * ShowSettingsL
   157      */
   157      */
   158     void ShowSettingsL();
   158     void ShowSettingsL();
       
   159     
       
   160     /**
       
   161     * Helper method. Adds a given constant to a value of reference counter
       
   162     *
       
   163     * @param aItem A Menu Item to update
       
   164     * @param aValueToAdd A constant to add 
       
   165     * @return The actual value of updated reference count
       
   166     */
       
   167     TInt UpdateMenuItemsRefCountL( 
       
   168         CMenuItem* aItem, const TInt aValueToAdd );
       
   169 
       
   170     /**
       
   171      * CreateBkmMenuItemsL
       
   172      * @param void
       
   173      * @return void
       
   174      */
       
   175     void CreateBkmMenuItemsL();
   159 
   176 
   160 private:
   177 private:
   161     // from MMCSPluginWatcherObserver
   178     // from MMCSPluginWatcherObserver
   162     
   179     
   163     /**
   180     /**
   202      * @return TBool
   219      * @return TBool
   203      */
   220      */
   204     TBool ConstructMenuItemForIconL( 
   221     TBool ConstructMenuItemForIconL( 
   205         const TDesC& aPath, CMenuItem& aMenuItem );
   222         const TDesC& aPath, CMenuItem& aMenuItem );
   206 
   223 
   207     /**
       
   208     * Helper method. Adds a given constant to a value of reference counter
       
   209     *
       
   210     * @param aItem A Menu Item to update
       
   211     * @param aValueToAdd A constant to add 
       
   212     * @return The actual value of updated reference count
       
   213     */
       
   214     TInt UpdateMenuItemsRefCountL( 
       
   215         CMenuItem* aItem, const TInt aValueToAdd );
       
   216     
       
   217 private:
   224 private:
   218     // data
   225     // data
   219     
   226     
   220     /** Plugin data, owned */
   227     /** Plugin data, owned */
   221     CMCSPluginData* iPluginData;
   228     CMCSPluginData* iPluginData;