appinstaller/AppMngr2/inc/appmngr2log.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 18 Aug 2010 09:55:45 +0300
changeset 60 245df5276b97
parent 0 ba25891c3a9e
permissions -rw-r--r--
Revision: 201031 Kit: 201033

/*
* Copyright (c) 2002-2008 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:   Shows installation log in a popup list dialog
*
*/


#ifndef C_APPMNGR2LOG_H
#define C_APPMNGR2LOG_H

#include <e32base.h>                    // CBase
#include <badesca.h>                    // CDesCArray
#include <SWInstLogTaskParam.h>         // SwiUI::TLogTaskAction

class CEikonEnv;


class CAppMngr2Log : public CBase
    {
public:     // constructor and destructor
    static CAppMngr2Log* NewLC();
    ~CAppMngr2Log();

public:     // new functions
    void ShowInstallationLogL();

private:    // new functions
    CAppMngr2Log( CEikonEnv& aEikEnv );
    void ConstructLogArrayL( CDesCArray* aItemArray );
    void SetLogActionTextColumnL( TDes& aListboxLine, const SwiUI::TLogTaskAction& aAction );
    void SetLogDateTimeColumnL( TDes& aListboxLine, const TTime& aDateTime );
    
private:    // data
    CEikonEnv& iEikEnv;
    };

#endif  // C_APPMNGR2LOG_H