idlehomescreen/inc/xnecomhandler.h
changeset 0 f72a12da539e
equal deleted inserted replaced
-1:000000000000 0:f72a12da539e
       
     1 /*
       
     2 * Copyright (c) 2002-2004 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:  Manages ecom plugins
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef CXNECOMHANDLER_H
       
    21 #define CXNECOMHANDLER_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 
       
    26 // CONSTANTS
       
    27 //const ?type ?constant_var = ?constant;
       
    28 
       
    29 // MACROS
       
    30 //#define ?macro ?macro_def
       
    31 
       
    32 // DATA TYPES
       
    33 //enum ?declaration
       
    34 //typedef ?declaration
       
    35 //extern ?data_type;
       
    36 
       
    37 // FUNCTION PROTOTYPES
       
    38 //?type ?function_name(?arg_list);
       
    39 
       
    40 // FORWARD DECLARATIONS
       
    41 class CXnArray;
       
    42 
       
    43 // CLASS DECLARATION
       
    44 
       
    45 /**
       
    46 * @ingroup group_xnutils
       
    47 * 
       
    48 *  Manages ecom plugins
       
    49 *  @since Series 60 3.1
       
    50 */
       
    51 class CXnEcomHandler : public CBase
       
    52     {
       
    53     public:  // Constructors and destructor
       
    54         struct CEcomItem;  
       
    55               
       
    56         /**
       
    57         * Two-phased constructor.
       
    58         * @param aRFs File server session
       
    59         */
       
    60         IMPORT_C static CXnEcomHandler* NewL();
       
    61         
       
    62         
       
    63         /**
       
    64         * Destructor.
       
    65         */
       
    66         virtual ~CXnEcomHandler();
       
    67 
       
    68     public: // New functions
       
    69         /**
       
    70         * Get pointers to plugins
       
    71         * @param aInterfaceUid Interface uid to use
       
    72         * @param aType Type of plugin to fetch
       
    73         * @param aFunctions Array in which to copy plugin pointers
       
    74         * @since Series 60 3.1
       
    75         */
       
    76         IMPORT_C void PluginsL(TUid aInterfaceUid, const TDesC8& aType, CXnArray& aFunctions);
       
    77         
       
    78     public: // Functions from base classes
       
    79 
       
    80         /**
       
    81         * From ?base_class ?member_description.
       
    82         * @since Series ?XX ?SeriesXX_version
       
    83         * @param ?arg1 ?description
       
    84         * @return ?description
       
    85         */
       
    86         //?type ?member_function( ?type ?arg1 );
       
    87         
       
    88     protected:  // New functions
       
    89         
       
    90         /**
       
    91         * ?member_description.
       
    92         * @since Series ?XX ?SeriesXX_version
       
    93         * @param ?arg1 ?description
       
    94         * @return ?description
       
    95         */
       
    96         //?type ?member_function( ?type ?arg1 );
       
    97 
       
    98         
       
    99     protected:  // Functions from base classes
       
   100         
       
   101         /**
       
   102         * From ?base_class ?member_description
       
   103         */
       
   104 
       
   105 
       
   106     private:
       
   107         //?type ?member_function();
       
   108         /**
       
   109         * C++ default constructor.
       
   110         */
       
   111         CXnEcomHandler();
       
   112 
       
   113         /**
       
   114         * 2nd phase constructor.
       
   115         */
       
   116         void ConstructL();
       
   117 
       
   118 
       
   119         // Prohibit copy constructor if not deriving from CBase.
       
   120         // ?classname( const ?classname& );
       
   121         // Prohibit assigment operator if not deriving from CBase.
       
   122         // ?classname& operator=( const ?classname& );
       
   123 
       
   124     public:     // Data
       
   125         // ?one_line_short_description_of_data
       
   126         //?data_declaration;
       
   127     
       
   128     protected:  // Data
       
   129         // ?one_line_short_description_of_data
       
   130         //?data_declaration;
       
   131 
       
   132     private:    // Data
       
   133         // array of ecom plugins
       
   134         RPointerArray<CEcomItem> iPlugins;
       
   135     };
       
   136 
       
   137 #endif      // CXNECOMHANDLER_H
       
   138             
       
   139 // End of File