upnpharvester/common/cmsqlwrapper/inc/cmsqlmainfactory.h
branchIOP_Improvements
changeset 40 08b5eae9f9ff
parent 39 6369bfd1b60d
child 41 b4d83ea1d6e2
equal deleted inserted replaced
39:6369bfd1b60d 40:08b5eae9f9ff
     1 /*
       
     2 * Copyright (c) 2008 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:      Abstract factory for CMSettings
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 #ifndef C_CMSQLMAINFACTORY_H
       
    25 #define C_CMSQLMAINFACTORY_H
       
    26 
       
    27 #include <e32std.h>
       
    28 #include <e32base.h>
       
    29 
       
    30 /* Forward declarations. */
       
    31 class MCmSqlMain;
       
    32 class RFs;
       
    33 
       
    34 /**
       
    35  *  Abstract factory for CCmSqlMain
       
    36  *
       
    37  *  @lib cmsettings.lib
       
    38  *
       
    39  *  @since S60 5.1
       
    40  */
       
    41 class CCmSqlMainFactory : public CBase
       
    42     {
       
    43 
       
    44 public:
       
    45 
       
    46     /**
       
    47      * Creates a new instance of CCmSqlMain
       
    48      *
       
    49      * @since S60 5.1
       
    50      * @param aFs, file server
       
    51      * @return  pointer to CCmSqlMain class
       
    52      */
       
    53     IMPORT_C static MCmSqlMain* NewCmSqlMainL( RFs& aFs );
       
    54 
       
    55     /**
       
    56      * Creates a new instance of CCmSqlMain. Instance is left in
       
    57      * cleanup stack.
       
    58      *
       
    59      * @since S60 5.1
       
    60      * @param aFs, file server
       
    61      * @return  pointer to CCmSqlMain class
       
    62      */
       
    63     IMPORT_C static MCmSqlMain* NewCmSqlMainLC( RFs& aFs );
       
    64 
       
    65     };
       
    66 
       
    67 #endif // C_CMSQLMAINFACTORY_H