contentcontrolsrv/hsccclient/hsccapiclient/inc/hsccapiclient.h
branchRCL_3
changeset 11 bd874ee5e5e2
parent 2 b7904b40483f
child 16 b276298d5729
equal deleted inserted replaced
8:d0529222e3f0 11:bd874ee5e5e2
    78      */
    78      */
    79     void DoCancel();
    79     void DoCancel();
    80 
    80 
    81 public: // From MHsContentController
    81 public: // From MHsContentController
    82     /**
    82     /**
    83      * 
    83      * See from API documentation
    84      */
    84      */
    85     TInt WidgetListL( CHsContentInfoArray& aArray );
    85     TInt WidgetListL( CHsContentInfoArray& aArray );
    86     
    86 
    87     /**
    87     /**
    88      * 
    88      * See from API documentation
       
    89      */
       
    90     TInt WidgetListL( CHsContentInfo& aInfo, CHsContentInfoArray& aArray );
       
    91 
       
    92     /**
       
    93      * See from API documentation
    89      */
    94      */
    90     TInt ViewListL( CHsContentInfoArray& aArray );
    95     TInt ViewListL( CHsContentInfoArray& aArray );
    91     
    96     
    92     /**
    97     /**
    93      * 
    98      * See from API documentation
    94      */
    99      */
    95     TInt AppListL( CHsContentInfoArray& aArray );
   100     TInt AppListL( CHsContentInfoArray& aArray );
    96     
   101     
    97     /**
   102     /**
    98      * 
   103      * See from API documentation
    99      */
   104      */
   100     TInt AddWidgetL( CHsContentInfo& aInfo );
   105     TInt AddWidgetL( CHsContentInfo& aInfo );
   101     
   106     
   102     /**
   107     /**
   103      * 
   108      * See from API documentation
   104      */
   109      */
   105     TInt RemoveWidgetL( CHsContentInfo& aInfo );
   110     TInt RemoveWidgetL( CHsContentInfo& aInfo );
   106     
   111     
   107     /**
   112     /**
   108      * 
   113      * See from API documentation
   109      */
   114      */
   110     TInt AddViewL( CHsContentInfo& aInfo );
   115     TInt AddViewL( CHsContentInfo& aInfo );
   111     
   116     
   112     /**
   117     /**
   113      * 
   118      * See from API documentation
   114      */
   119      */
   115     TInt RemoveViewL( CHsContentInfo& aInfo );
   120     TInt RemoveViewL( CHsContentInfo& aInfo );
   116     
   121     
   117     /**
   122     /**
   118      * 
   123      * See from API documentation
   119      */
   124      */
   120     TInt ActivateViewL( CHsContentInfo& aInfo );
   125     TInt ActivateViewL( CHsContentInfo& aInfo );
   121     
   126     
   122     /**
   127     /**
   123      * 
   128      * See from API documentation
   124      */
   129      */
   125     TInt ActivateAppL( CHsContentInfo& aInfo );
   130     TInt ActivateAppL( CHsContentInfo& aInfo );
   126 
   131 
   127    /**
   132     /**
   128     * 
   133      * See from API documentation
   129     */
   134      */
   130    TInt ActiveViewL( CHsContentInfo& aInfo );
   135    TInt ActiveViewL( CHsContentInfo& aInfo );
   131    
   136    
   132    /**
   137    /**
   133     * 
   138     * See from API documentation
   134     */
   139     */
   135    TInt ActiveAppL( CHsContentInfo& aInfo );
   140    TInt ActiveAppL( CHsContentInfo& aInfo );
   136 
   141 
   137 private: // Functions
   142 private: // Functions
   138     /**
   143     /**
   139      * 
   144      * Requests receiving of content change notification
   140      */
   145      */
   141     void WaitForApiNtfL();
   146     void WaitForApiNtfL();
   142     
   147     
       
   148     /**
       
   149      * Internalize received response message
       
   150      */
       
   151     TInt InternalizeRespL( TPtr8& aResp, TUint32& aTrId, TUint32& aDataSize );
       
   152 
       
   153     /**
       
   154      * Internalize received CHsContentInfo type response message data
       
   155      */
       
   156     TInt InternalizeContentInfoL( CHsContentInfo& aInfo, TUint32 aTrId, TUint32 aDataSize );
       
   157 
       
   158     /**
       
   159      * Internalize received CHsContentInfoArray type response message data
       
   160      */
       
   161     TInt InternalizeContentInfoArrayL( CHsContentInfoArray& aInfo, TUint32 aTrId, TUint32 aDataSize );
       
   162 
   143 private: // Data
   163 private: // Data
   144     /**
   164     /**
   145      * Session to Homescreen content control server
   165      * Session to Homescreen content control server
   146      */
   166      */
   147     RCcClientSession iSession;
   167     RCcClientSession iSession;