idlefw/plugins/mcsplugin/publisher/inc/mcsplugin.h
changeset 2 b7904b40483f
parent 0 79c6a41cd166
child 8 d0529222e3f0
equal deleted inserted replaced
1:844b978f8d5e 2:b7904b40483f
    21 
    21 
    22 #include <aicontentpublisher.h>
    22 #include <aicontentpublisher.h>
    23 #include <aipropertyextension.h>
    23 #include <aipropertyextension.h>
    24 #include <aicontentmodel.h>
    24 #include <aicontentmodel.h>
    25 #include <aieventhandlerextension.h>
    25 #include <aieventhandlerextension.h>
    26 
    26 #include <centralrepository.h>
       
    27 #include "mcspluginwatcher.h"
    27 
    28 
    28 class MAiContentObserver;
    29 class MAiContentObserver;
    29 class MAiContentItemIterator;
    30 class MAiContentItemIterator;
    30 class CMCSPluginEngine;
    31 class CMCSPluginEngine;
    31 class TMCSData;
    32 class TMCSData;
    40  *
    41  *
    41  *  @since S60 v3.2
    42  *  @since S60 v3.2
    42  */
    43  */
    43 class CMCSPlugin : public CAiContentPublisher,
    44 class CMCSPlugin : public CAiContentPublisher,
    44                    public MAiPropertyExtension,
    45                    public MAiPropertyExtension,
    45                    public MAiEventHandlerExtension
    46                    public MAiEventHandlerExtension,
       
    47                    public MMCSPluginWatcherObserver
    46 
    48 
    47 
    49 
    48     {
    50     {
    49 
    51 
    50 public:
    52 public:
    86     *
    88     *
    87     * @param void
    89     * @param void
    88     * @return void
    90     * @return void
    89     */
    91     */
    90     void PublishL();
    92     void PublishL();
       
    93 
       
    94     /**
       
    95     * From base class MMCSPluginWatcherObserver
       
    96     * .a method for Skin UID cenrep key change handeling
       
    97     */
       
    98     void HandleNotifyL();
    91 
    99 
    92 // from base class CAiContentPublisher
   100 // from base class CAiContentPublisher
    93   
   101   
    94     /**
   102     /**
    95     * From CAiContentPublisher
   103     * From CAiContentPublisher
   274     RPointerArray<MAiContentObserver> iObservers;
   282     RPointerArray<MAiContentObserver> iObservers;
   275 
   283 
   276     // Information about the content publisher (this plug-in)
   284     // Information about the content publisher (this plug-in)
   277     TAiPublisherInfo iInfo;
   285     TAiPublisherInfo iInfo;
   278 
   286 
   279     // Boolean, which expresses whether the content has been updated
   287     // For accessing central repository keys
   280     //TBool iIsUpdated;
   288     CRepository* iRepository;
       
   289 
       
   290     // For observing central repository Skin UID key change 
       
   291     CMCSPluginWatcher* iRepositoryWatcher;
   281 
   292 
   282     };
   293     };
   283 
   294 
   284 #endif // CMCSPLUGIN_H
   295 #endif // CMCSPLUGIN_H