appinstaller/AppMngr2/inc/appmngr2logdatabase.h
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     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:   Defines CAppMngr2LogDatabase class to access installation log
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_APPMNGR2LOGDATABASE_H
       
    20 #define C_APPMNGR2LOGDATABASE_H
       
    21 
       
    22 #include <e32base.h>                    // CBase
       
    23 #include <d32dbms.h>                    // RDbs, RDbNamedDatabase
       
    24 
       
    25 class CAppMngr2LogDatabaseEntry;
       
    26 
       
    27 
       
    28 class CAppMngr2LogDatabase : public CBase
       
    29     {
       
    30 public:     // constructors and destructor
       
    31     static CAppMngr2LogDatabase* NewL();
       
    32     ~CAppMngr2LogDatabase();
       
    33 
       
    34 public:     // new functions
       
    35     const RPointerArray<CAppMngr2LogDatabaseEntry>& Entries() const;
       
    36 
       
    37 private:    // new functions
       
    38     CAppMngr2LogDatabase();
       
    39     void ConstructL();
       
    40 
       
    41 private:    // data
       
    42     RPointerArray<CAppMngr2LogDatabaseEntry> iEntries;
       
    43     RDbNamedDatabase iLogDb;
       
    44     RDbs iDbSession;
       
    45     };
       
    46 
       
    47 #endif  // C_APPMNGR2LOGDATABASE_H
       
    48