idlefw/inc/utility/caiplugintool.h
branchRCL_3
changeset 8 d0529222e3f0
parent 0 79c6a41cd166
equal deleted inserted replaced
4:1a2a00e78665 8:d0529222e3f0
    13 *
    13 *
    14 * Description:  Collection of content plugin helper functions
    14 * Description:  Collection of content plugin helper functions
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 
       
    19 #ifndef C_AIPLUGINTOOL_H
    18 #ifndef C_AIPLUGINTOOL_H
    20 #define C_AIPLUGINTOOL_H
    19 #define C_AIPLUGINTOOL_H
    21 
    20 
       
    21 // System includes
    22 #include <e32base.h>
    22 #include <e32base.h>
       
    23 
       
    24 // User includes
    23 #include "aiplugintool.h"
    25 #include "aiplugintool.h"
    24 
    26 
    25 class TAiPublisherInfo;
    27 // Forward declarations
    26 class CAiContentPublisher;
    28 class THsPublisherInfo;
       
    29 class CHsContentPublisher;
    27 class MAiContentItemIterator;
    30 class MAiContentItemIterator;
    28 class MAiPropertyExtension;
       
    29 class MAiEventHandlerExtension;
       
    30 
    31 
    31 /**
    32 /**
    32 *  @ingroup group_aiutils
    33 *  @ingroup group_aiutils
    33 * 
    34 * 
    34 *  Plugin tool.
    35 *  Plugin tool.
    37 */
    38 */
    38 NONSHARABLE_CLASS( CAiPluginTool ) :
    39 NONSHARABLE_CLASS( CAiPluginTool ) :
    39     public CBase, public MAiPluginTool
    40     public CBase, public MAiPluginTool
    40 	{
    41 	{
    41 public:
    42 public:
       
    43     // Constructor
    42 	
    44 	
    43     static CAiPluginTool* NewL();
    45     static CAiPluginTool* NewL();
    44     
    46     
    45 private:
    47 private:
    46 
    48     // Constructors
       
    49     
       
    50     /**
       
    51      * C++ default contructor
       
    52      */
    47     CAiPluginTool();
    53     CAiPluginTool();
    48     
    54     
       
    55     /**
       
    56      * 2nd phase constructor
       
    57      */
    49     void ConstructL();
    58     void ConstructL();
    50     
    59     
       
    60 private:
       
    61     // from MAiPluginTool
       
    62 
       
    63     MAiContentItemIterator* ContentItemIterator( 
       
    64         CHsContentPublisher& aContentPublisher,        
       
    65         CHsContentPublisher::TProperty aType = CHsContentPublisher::EPublisherContent );
       
    66     
    51     void Release();
    67     void Release();
    52 
       
    53     const TAiPublisherInfo* PublisherInfoL(
       
    54                                 CAiContentPublisher& aContentPublisher );
       
    55 
       
    56     MAiContentItemIterator* ContentItemIteratorL(
       
    57                                 CAiContentPublisher& aContentPublisher,
       
    58                                 TInt aContentType = EAiPublisherContent );
       
    59 
       
    60     MAiPropertyExtension* PropertyExt(
       
    61                                 CAiContentPublisher& aContentPublisher );
       
    62 
       
    63     MAiEventHandlerExtension* EventHandlerExt(
       
    64                                 CAiContentPublisher& aContentPublisher );
       
    65 
       
    66     };
    68     };
    67 
    69 
    68 #endif // M_AIPLUGINTOOL_H
    70 #endif // M_AIPLUGINTOOL_H
    69 
    71 
       
    72 // End of file
    70 
    73 
    71 
       
    72 
       
    73