emailuis/uicomponents/fsscrollbarplugin/src/fsscrollbarfactory.cpp
changeset 4 e7aa27f58ae1
parent 0 8466d47a6819
equal deleted inserted replaced
3:a4d6f1ea0416 4:e7aa27f58ae1
    16 */
    16 */
    17 
    17 
    18 
    18 
    19 
    19 
    20 #include "emailtrace.h"
    20 #include "emailtrace.h"
    21 #include <implementationproxy.h>
    21 #include <ecom/implementationproxy.h>
    22 //<cmail> SF
       
    23 #include <alf/alfconstants.h>
    22 #include <alf/alfconstants.h>
    24 #include <alf/alflayouthandlers.h>
    23 #include <alf/alflayouthandlers.h>
    25 //</cmail>
       
    26 #include "fsscrollbarfactory.h"
    24 #include "fsscrollbarfactory.h"
    27 #include "fsscrollbarlayouthandler.h"
    25 #include "fsscrollbarlayouthandler.h"
    28 #include "fsscrollbarpluginconstants.h"
    26 #include "fsscrollbarpluginconstants.h"
    29 
    27 
    30 
    28 
    31 // ======== LOCAL FUNCTIONS ========
    29 // ======== LOCAL FUNCTIONS ========
    32 
    30 
    33 MAlfExtensionFactory* Instance()
    31 MAlfExtensionFactory* Instance()
    34 	{
    32     {
    35     FUNC_LOG;
    33     FUNC_LOG;
    36 	TFsScrollbarFactory* me = NULL;
    34     TFsScrollbarFactory* me = NULL;
    37 	me = new TFsScrollbarFactory;
    35     me = new TFsScrollbarFactory;
    38 	return me;
    36     return me;
    39 	}
    37     }
    40 
    38 
    41 
    39 
    42 const TImplementationProxy ImplementationTable[] =
    40 const TImplementationProxy ImplementationTable[] =
    43 	{
    41     {
    44 	//<cmail>
    42     //<cmail>
    45     IMPLEMENTATION_PROXY_ENTRY( KFsScrollbarImplementationId,
    43     IMPLEMENTATION_PROXY_ENTRY( KFsScrollbarImplementationId,
    46 	                            Instance )
    44                                 Instance )
    47     //</cmail>	                            
    45     //</cmail>                              
    48 	};
    46     };
    49 
    47 
    50 
    48 
    51 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(
    49 EXPORT_C const TImplementationProxy* ImplementationGroupProxy(
    52     TInt& aTableCount )
    50     TInt& aTableCount )
    53 	{
    51     {
    54 	aTableCount = sizeof( ImplementationTable )
    52     aTableCount = sizeof( ImplementationTable )
    55         / sizeof( TImplementationProxy ) ;
    53         / sizeof( TImplementationProxy ) ;
    56 	return ImplementationTable;
    54     return ImplementationTable;
    57 	}
    55     }
    58 
    56 
    59 
    57 
    60 // ======== MEMBER FUNCTIONS ========
    58 // ======== MEMBER FUNCTIONS ========
    61 
    59 
    62 // ---------------------------------------------------------------------------
    60 // ---------------------------------------------------------------------------