Changeset 63 for trunk/lib/Stats.h


Ignore:
Timestamp:
Jan 20, 2006, 12:07:36 AM (16 years ago)
Author:
Peter Johansson
Message:

Fixed problem with mapping revison to date. Removed mkstemps. name of
png files are now in line with their html file name. Binary works on
svnstat, but is asserted on c++_tools.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Stats.h

    r60 r63  
    3434    /// @brief Print statistics
    3535    ///
    36     void inline print(std::ostream& s) const
    37     { s << "<p><img src='" << plot() << "' alt='[plot]' border=0></p>\n"; }
     36    void inline print(std::ostream& s, const std::string& name) const
     37    { s << "<p><img src='" << plot(name) << "' alt='[plot]' border=0></p>\n"; }
    3838
    3939    ///
     
    7878    void add(const std::string& user, const u_int& revision);
    7979
    80     std::string plot(void) const;
     80    std::string plot(const std::string&) const;
    8181
    8282    static u_int latest_revision_; // latest rev. for whole project
Note: See TracChangeset for help on using the changeset viewer.