vmbx/vmbxengine/inc/vmbxenginefactory.h
changeset 19 e44a8c097b15
parent 12 ae8abd0db65c
equal deleted inserted replaced
15:d7fc66ccd6fb 19:e44a8c097b15
     1 /*
     1 /*
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    30 
    30 
    31 /**
    31 /**
    32 *  CVmbxEngineFactory declaration
    32 *  CVmbxEngineFactory declaration
    33 *
    33 *
    34 *  @lib vmbxengine.lib
    34 *  @lib vmbxengine.lib
    35 *  @since S60 v5.2
       
    36 */
    35 */
    37 NONSHARABLE_CLASS( CVmbxEngineFactory ) : public CBase
    36 NONSHARABLE_CLASS( CVmbxEngineFactory ) : public CBase
    38     {
    37     {
    39 
    38 
    40 public:  // Constructors and destructor
    39 public:  // Constructors and destructor
    41 
    40 
    42     /**
    41     /**
    43      * Two-phased constructor
    42      * Two-phased constructor
    44      * @since S60 v5.2
       
    45      * @param aProvider Reference to MVmbxResourceProvider
    43      * @param aProvider Reference to MVmbxResourceProvider
    46      */
    44      */
    47     static CVmbxEngineFactory* NewL( MVmbxResourceProvider& aProvider );
    45     static CVmbxEngineFactory* NewL( MVmbxResourceProvider& aProvider );
    48 
    46 
    49     /**
    47     /**
    54 public:  // New functions
    52 public:  // New functions
    55 
    53 
    56     /**
    54     /**
    57      * Creates instance of the mailbox entry
    55      * Creates instance of the mailbox entry
    58      *
    56      *
    59      * @since S60 v5.2
       
    60      * @param aEngine ownership is transferred
    57      * @param aEngine ownership is transferred
    61      * @param aType mailbox type
    58      * @param aType mailbox type
    62      */
    59      */
    63     void CreateEngineL( CVmbxEngineBase*& aEngine, TVmbxType aType );
    60     void CreateEngineL( CVmbxEngineBase*& aEngine, TVmbxType aType );
    64 
    61 
    65 private:
    62 private:
    66 
    63 
    67     /**
    64     /**
    68      * C++ default constructor.
    65      * C++ default constructor.
    69      * @since S60 v5.2
       
    70      * @param aProvider Reference to MVmbxResourceProvider
    66      * @param aProvider Reference to MVmbxResourceProvider
    71      */
    67      */
    72     CVmbxEngineFactory( MVmbxResourceProvider& aProvider );
    68     CVmbxEngineFactory( MVmbxResourceProvider& aProvider );
    73 
    69 
    74     /**
    70     /**