appinstaller/AppMngr2/inc/appmngr2logdatabaseentry.h
changeset 80 9dcba1ee99f7
parent 77 d1838696558c
equal deleted inserted replaced
77:d1838696558c 80:9dcba1ee99f7
     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 CAppMngr2LogDatabaseEntry to access installation log
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_APPMNGR2LOGDATABASEENTRY_H
       
    20 #define C_APPMNGR2LOGDATABASEENTRY_H
       
    21 
       
    22 #include <e32base.h>                    // CBase
       
    23 #include <d32dbms.h>                    // RDbView
       
    24 #include <SWInstLogTaskParam.h>         // SwiUI::KMaxLogNameLength
       
    25 
       
    26 
       
    27 class CAppMngr2LogDatabaseEntry : public CBase
       
    28     {
       
    29 public:     // constructors and destructor
       
    30     static CAppMngr2LogDatabaseEntry* NewL( RDbView& aView );
       
    31     ~CAppMngr2LogDatabaseEntry();
       
    32 
       
    33 public:     // new functions
       
    34     inline const TDesC& Name() const;
       
    35     inline const TTime Time() const;
       
    36     inline const SwiUI::TLogTaskAction Action() const;
       
    37     inline const TDesC& Version() const;
       
    38     inline const TDesC& Vendor() const;
       
    39 
       
    40 private:    // new functions
       
    41     CAppMngr2LogDatabaseEntry();
       
    42     void ConstructL( RDbView& aView );
       
    43 
       
    44 private:    // data
       
    45     HBufC* iName;
       
    46     TTime iTime;
       
    47     SwiUI::TLogTaskAction iAction;
       
    48     HBufC* iVersion;
       
    49     HBufC* iVendor;
       
    50     };
       
    51 
       
    52 #include "appmngr2logdatabaseentry.inl"
       
    53 
       
    54 #endif  // C_APPMNGR2LOGDATABASEENTRY_H
       
    55