idlefw/plugins/sapidataplugin/inc/sapidata.h
branchRCL_3
changeset 14 15e4dd19031c
parent 12 502e5d91ad42
child 15 a0713522ab97
equal deleted inserted replaced
12:502e5d91ad42 14:15e4dd19031c
    31 class MLiwInterface;
    31 class MLiwInterface;
    32 class CLiwServiceHandler;
    32 class CLiwServiceHandler;
    33 class CSapiDataObserver;
    33 class CSapiDataObserver;
    34 class CSapiDataPlugin;
    34 class CSapiDataPlugin;
    35 class MAiContentObserver;
    35 class MAiContentObserver;
       
    36 class MAiCpsCommandBuffer;
    36 
    37 
    37 /**
    38 /**
    38  *  @ingroup group_sapidataplugin
    39  *  @ingroup group_sapidataplugin
    39  *
    40  *
    40  *  Content item
    41  *  Content item
   148     * Change the publisher status
   149     * Change the publisher status
   149     *
   150     *
   150     * @param aStatus new status of the publisher
   151     * @param aStatus new status of the publisher
   151     * @return void
   152     * @return void
   152     */
   153     */
   153     void ChangePublisherStatusL(const TDesC& aStatus);
   154     void ChangePublisherStatusL(const TDesC8& aStatus);
       
   155     
       
   156     /**
       
   157     * Change the publisher status with list of actions
       
   158     *
       
   159     * @param aActionsList new list of status for the publisher
       
   160     * @return void
       
   161     */
       
   162     void ChangePublisherStatusL(CLiwDefaultList* aActionsList);
   154     
   163     
   155     /**
   164     /**
   156     * Triggers active event with KNoNotification option.
   165     * Triggers active event with KNoNotification option.
   157     * Notification is not send to observer, action handler
   166     * Notification is not send to observer, action handler
   158     * plug-ins are executed 
   167     * plug-ins are executed 
   181      * Sets startup reason, which will be communicated to CPS client
   190      * Sets startup reason, which will be communicated to CPS client
   182      * in the case of late registration.
   191      * in the case of late registration.
   183      * 
   192      * 
   184      * @param aStartupReason A reason
   193      * @param aStartupReason A reason
   185      */
   194      */
   186     void SetStartupReasonL(const TDesC& aStartupReason);
   195     void SetStartupReasonL(const TDesC8& aStartupReason);
   187     
   196     
   188     /**
   197     /**
   189 	* Execute the command to get the data from CPS
   198 	* Execute the command to get the data from CPS
   190 	*
   199 	*
   191 	* @param aRegistry type of registry (publisher/cp_data) 
   200 	* @param aRegistry type of registry (publisher/cp_data) 
   347 	* @param aStatus update needed status (ETrue/EFalse)
   356 	* @param aStatus update needed status (ETrue/EFalse)
   348 	* @return void  
   357 	* @return void  
   349 	*/
   358 	*/
   350     void SetUpdateNeeded(TBool aStatus);
   359     void SetUpdateNeeded(TBool aStatus);
   351     
   360     
       
   361     /**
       
   362     * Sets property value.
       
   363     *
       
   364     * @since S60 5.2
       
   365     * @param aAny - contains pointer to command buffer.
       
   366     */
       
   367     void SetCommandBuffer(TAny* aAny);
       
   368     
   352 private:   
   369 private:   
   353     // data
   370     // data
   354     
   371     /** CPS Command Buffer Interface, Not Owned */
       
   372     MAiCpsCommandBuffer* iCpsExecute;
   355     /** Subscriber interface, owned */    
   373     /** Subscriber interface, owned */    
   356     MLiwInterface* iInterface;      
   374     MLiwInterface* iInterface;      
   357     /** Data Observer to CPS content registry, owned */    
   375     /** Data Observer to CPS content registry, owned */    
   358     CSapiDataObserver* iContentObserver;    
   376     CSapiDataObserver* iContentObserver;    
   359     /** Data Observer to CPS publisher registry, owned */    
   377     /** Data Observer to CPS publisher registry, owned */    
   371 	/** content type, owned */
   389 	/** content type, owned */
   372 	HBufC* iContentType;
   390 	HBufC* iContentType;
   373 	/** content id, owned */
   391 	/** content id, owned */
   374 	HBufC* iContentId;
   392 	HBufC* iContentId;
   375 	/** Startup reason, owned */
   393 	/** Startup reason, owned */
   376 	HBufC* iStartupReason;
   394 	HBufC8* iStartupReason;
   377     /** Reference of the sapi data plugin, not owned */    
   395     /** Reference of the sapi data plugin, not owned */    
   378     CSapiDataPlugin* iPlugin;    
   396     CSapiDataPlugin* iPlugin;    
   379     /** Menu item names, owned */    
   397     /** Menu item names, owned */    
   380     RPointerArray<HBufC> iMenuItems;    
   398     RPointerArray<HBufC> iMenuItems;    
   381     /** Trigger names for the menu items, owned */
   399     /** Trigger names for the menu items, owned */
   385     };
   403     };
   386 
   404 
   387 #endif // SAPIDATA_H
   405 #endif // SAPIDATA_H
   388 
   406 
   389 // End of file
   407 // End of file
       
   408