Ignore:
Timestamp:
Nov 12, 2010, 5:01:35 AM (11 years ago)
Author:
Peter Johansson
Message:

closes #457. Lifting out plotting functions in Stats into a new class
StatsPlotter?. In same manner lifting out print functions from
Node/Directory/File? into a new hierarchy
NodePrinter/DirectoryPrinter/FilePrinter?. To accomplish these splits
without to much recoding some friendships are introduced. These new
classes are only needed for svndigest (not svncopyright) and are
therefore placed in a library named libsvndigest together with Graph
class and first_page functions. Remaining functionality, shared
between svncopyright and svndigest, are located in libsvndigest_core
and linked into both binaries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/first_page.cc

    r1254 r1290  
    3434#include "Stats.h"
    3535#include "StatsCollection.h"
     36#include "StatsPlotter.h"
    3637#include "SVNlog.h"
    3738#include "Trac.h"
     
    250251  {
    251252    std::string name("summary_plot");
    252     stats.plot_summary(name);
     253    StatsPlotter(stats).plot_summary(name);
    253254    os << "<div class=\"main\">\n";
    254255    os << image(name);
Note: See TracChangeset for help on using the changeset viewer.