/*
 * HTMLResourceReport.h - TaskJuggler
 *
 * Copyright (c) 2001, 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$
 */

#ifndef _HTMLResourceReport_h_
#define _HTMLResourceReport_h_

#include "HTMLSingleReport.h"
#include "HTMLResourceReportElement.h"
#include "tjlib-internal.h"

/**
 * @short Stores all information about an HTML resource report.
 * @author Chris Schlaeger <cs@kde.org>
 */
class HTMLResourceReport : public HTMLSingleReport
{
public:
    HTMLResourceReport(Project* p, const QString& f, const QString& df, int dl) :
	    HTMLSingleReport(p, f, df, dl)
    {
	    setTable(new HTMLResourceReportElement(this, df, dl));
    }

    virtual ~HTMLResourceReport()
    { }

    virtual const char* getType() const { return "HTMLResourceReport"; }
    virtual QString getTitle() const { return i18n("Resource Report"); }
};

#endif
