/*
 * HTMLStatusReport.h - TaskJuggler
 *
 * Copyright (c) 2002, 2003, 2004 by Chris Schlaeger <cs@kde.org>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of version 2 of the GNU General Public License as
 * published by the Free Software Foundation.
 *
 * $Id: HTMLStatusReport.h 1259 2006-01-31 12:04:00Z cs $
 */

#ifndef _HTMLStatusReport_h_
#define _HTMLStatusReport_h_

#include "HTMLReport.h"

class Project;
class TaskList;
class HTMLReportElement;

/**
 * @short A class that generates HTML status reports.
 * @author Chris Schlaeger <cs@kde.org>
 */
class HTMLStatusReport : public HTMLReport
{
public:
    HTMLStatusReport(Project* p, const QString& f, const QString& df, int dl);
    virtual ~HTMLStatusReport();

    virtual const char* getType() const { return "HTMLStatusReport"; }

    void setTable(int tabIdx, HTMLReportElement* tab);
    HTMLReportElement* getTable(int tabIdx) const;

    bool generate();

private:
    HTMLStatusReport() { }  // don't call this directly

    static const int tablesCount = 4;
    HTMLReportElement* tables[tablesCount];
} ;

#endif

