idlefw/inc/utility/caiplugintool.h
changeset 0 79c6a41cd166
child 8 d0529222e3f0
equal deleted inserted replaced
-1:000000000000 0:79c6a41cd166
       
     1 /*
       
     2 * Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Collection of content plugin helper functions
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_AIPLUGINTOOL_H
       
    20 #define C_AIPLUGINTOOL_H
       
    21 
       
    22 #include <e32base.h>
       
    23 #include "aiplugintool.h"
       
    24 
       
    25 class TAiPublisherInfo;
       
    26 class CAiContentPublisher;
       
    27 class MAiContentItemIterator;
       
    28 class MAiPropertyExtension;
       
    29 class MAiEventHandlerExtension;
       
    30 
       
    31 /**
       
    32 *  @ingroup group_aiutils
       
    33 * 
       
    34 *  Plugin tool.
       
    35 *
       
    36 *  @since S60 3.2
       
    37 */
       
    38 NONSHARABLE_CLASS( CAiPluginTool ) :
       
    39     public CBase, public MAiPluginTool
       
    40 	{
       
    41 public:
       
    42 	
       
    43     static CAiPluginTool* NewL();
       
    44     
       
    45 private:
       
    46 
       
    47     CAiPluginTool();
       
    48     
       
    49     void ConstructL();
       
    50     
       
    51     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     };
       
    67 
       
    68 #endif // M_AIPLUGINTOOL_H
       
    69 
       
    70 
       
    71 
       
    72 
       
    73