iaupdate/IAD/ui/inc/iaupdatemainwindow.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 03 May 2010 12:38:03 +0300
changeset 29 26b6f0522fd8
child 33 8110bf1194d1
permissions -rw-r--r--
Revision: 201015 Kit: 201018

/*
* Copyright (c) 2009 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:   This file contains the header file of the IAUpdateMainWindow
*                class 
*
*/

#ifndef IAUPDATEMAINWINDOW_H_
#define IAUPDATEMAINWINDOW_H_

#include <qobject>
#include <hbmainwindow.h>

// Forward declarations
class IAUpdateMainView;
class IAUpdateHistoryView;
class HbDocumentLoader;
class MIAUpdateNode;
class MIAUpdateFwNode;
class IAUpdateServiceProvider;  //temp

class IAUpdateMainWindow : public HbMainWindow
    {
    Q_OBJECT
    
public:
    IAUpdateMainWindow();
    virtual ~IAUpdateMainWindow();

public slots:
    void toMainView();
    void refreshMainView(const RPointerArray<MIAUpdateNode>& nodes,
                         const RPointerArray<MIAUpdateFwNode>& fwNodes,
                         int error);
    void toHistoryView();

private:
    void addMainView();
    void addHistoryView();
    
private:
    IAUpdateMainView *mMainView;
    IAUpdateHistoryView *mHistoryView;
    
    };

#endif /* IAUPDATEMAINWINDOW */