Ignore:
Timestamp:
May 2, 2007, 11:05:55 AM (14 years ago)
Author:
Peter Johansson
Message:

support for Trac. Fixes #125. Also added a config file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Configuration.h

    r264 r274  
    2828#include <map>
    2929#include <string>
     30#include <utility>
    3031
    3132namespace theplu{
    3233namespace svndigest{
    3334
     35  ///
     36  /// Configuration class takes care of all setting defined in the
     37  /// configuration file.
     38  ///
    3439  class Configuration
    3540  {
     
    5358    copyright_alias(void) const { return copyright_alias_; }
    5459
     60    ///
     61    /// @return root for the trac envrionment, e.g.,
     62    /// http://lev.thep.lu.se/trac/svndigest/ticket/
     63    ///
     64    inline std::string trac_ticket(void) const { return trac_ticket_; }
     65
     66    ///
     67    /// @return root for the trac envrionment, e.g.,
     68    /// http://lev.thep.lu.se/trac/svndigest/ticket/
     69    ///
     70    std::string trac_revision(void) const { return trac_revision_; }
     71
    5572  private:
    5673    ///
     
    6077    ///
    6178    Configuration(void);
     79    // Copy Constructor not implemented
     80    Configuration(const Configuration&);
    6281
    6382    void clear(void);
     
    6988    std::map<std::string, std::string> copyright_alias_;
    7089
     90    std::string trac_ticket_;
     91    std::string trac_revision_;
     92   
    7193  };
    7294
Note: See TracChangeset for help on using the changeset viewer.