mpxplugins/serviceplugins/collectionplugins/mpxsqlitedbhgplugin/inc/mpxcollectiondbmanager.h
changeset 0 ff3acec5bc43
equal deleted inserted replaced
-1:000000000000 0:ff3acec5bc43
       
     1 /*
       
     2 * Copyright (c) 2007 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:  This class is responsible for managing all of music collection
       
    15 *                databases.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef MPXCOLLECTIONDBMANAGER_H
       
    21 #define MPXCOLLECTIONDBMANAGER_H
       
    22 
       
    23 // INCLUDES
       
    24 
       
    25 #include "mpxdbmanager.h"
       
    26 
       
    27 // CLASS DECLARATION
       
    28 
       
    29 /**
       
    30 * Database manager specialization for the collection plugin.
       
    31 *
       
    32 * @lib MPXDbPlugin.lib
       
    33 */
       
    34 class CMPXCollectionDbManager :
       
    35     public CMPXDbManager
       
    36     {
       
    37     public: // Constructors and destructor
       
    38 
       
    39         /**
       
    40         * Two-phased constructor.
       
    41         * @param aFs file server session
       
    42         * @return The constructed object of CMPXDbManager
       
    43         */
       
    44         static CMPXCollectionDbManager* NewL(RFs& aFs);
       
    45 
       
    46         /**
       
    47         * Two-phased constructor.
       
    48         * @param aFs file server session
       
    49         * @return The constructed object of CMPXDbManager
       
    50         */
       
    51         static CMPXCollectionDbManager* NewLC(RFs& aFs);
       
    52 
       
    53         /**
       
    54         * Destructor
       
    55         */
       
    56         virtual ~CMPXCollectionDbManager();
       
    57 
       
    58     private:
       
    59 
       
    60         /**
       
    61         * C++ default constructor
       
    62         * @param aFs file server session
       
    63         */
       
    64         CMPXCollectionDbManager(RFs& aFs);
       
    65 
       
    66         /**
       
    67         * The second phase constructor ConstructL to safely construct things
       
    68         * that can leave
       
    69         */
       
    70         void ConstructL();
       
    71     };
       
    72 
       
    73 #endif  // MPXCOLLECTIONDBMANAGER_H