homescreen_plat/hs_renderingplugin_api/inc/xnextrenderingpluginadapter.h
branchRCL_3
changeset 25 137ebc85284b
parent 18 d05a55b217df
equal deleted inserted replaced
23:7be2816dbabd 25:137ebc85284b
    33  *  provide sufficient functionality. Baddly written plug-in can 
    33  *  provide sufficient functionality. Baddly written plug-in can 
    34  *  ruin the Homescreen performance as it runs in the Homescreen
    34  *  ruin the Homescreen performance as it runs in the Homescreen
    35  *  process. Power save mode must be obeyed in order to maximize
    35  *  process. Power save mode must be obeyed in order to maximize
    36  *  the standby times of the device.
    36  *  the standby times of the device.
    37  *
    37  *
    38  *
       
    39  *  @code
    38  *  @code
    40  *
    39  *  // External rendering plug-in mandatory functions
       
    40  *  T_RenderingPlugin* T_RenderingPlugin::NewL()
       
    41  *      {
       
    42  *      T_RenderingPlugin* self = T_RenderingPlugin::NewLC();
       
    43  *      CleanupStack::Pop( self );
       
    44  *      return self;
       
    45  *      }
       
    46  *  //
       
    47  *  T_RenderingPlugin* T_RenderingPlugin::NewLC()
       
    48  *      {
       
    49  *      T_RenderingPlugin* self = new( ELeave ) T_RenderingPlugin();
       
    50  *      CleanupStack::PushL( self );
       
    51  *      self->ConstructL();
       
    52  *      return self;
       
    53  *      }
       
    54  *  //
       
    55  *  T_RenderingPlugin::~T_RenderingPlugin()
       
    56  *      {
       
    57  *      }
       
    58  * //
       
    59  *  T_RenderingPlugin::T_RenderingPlugin()
       
    60  *      {
       
    61  *      // Do nothing
       
    62  *      }
       
    63  *  //
       
    64  *  void T_RenderingPlugin::ConstructL()
       
    65  *      {
       
    66  *      }
       
    67  *  //
       
    68  *  const TImplementationProxy KImplementationTable[] =
       
    69  *     {
       
    70  *  #ifdef __EABI__
       
    71  *      IMPLEMENTATION_PROXY_ENTRY( 0x22334455, T_RenderingPlugin::NewL )
       
    72  *  #else
       
    73  *      { { 0x22334455 }, T_RenderingPlugin::NewL }
       
    74  *  #endif
       
    75  *     };
       
    76  *  //
       
    77  *  EXPORT_C const TImplementationProxy* ImplementationGroupProxy(
       
    78  *      TInt& aTableCount )
       
    79  *      {
       
    80  *      aTableCount = sizeof( KImplementationTable ) / sizeof( TImplementationProxy );
       
    81  *      return KImplementationTable;
       
    82  *      }
       
    83  *  
    41  *  @endcode
    84  *  @endcode
    42  *
    85  *
    43  *  @lib extrenderingplugin.lib
    86  *  @lib extrenderingplugin.lib
    44  *  @since S60 v5.2
    87  *  @since S60 v5.2
    45  */
    88  */