text: #ifndef ProcessStatisticsInteractor_H
  #define ProcessStatisticsInteractor_H
  
  #include "Entities/CurrencyCounter.h"
  #include "StatisticsResults.h"
  #include "Entities/Statistics.h"
  #include "Entities/PortfolioEntry.h"
  
  class Portfolio;
  class AbstractCurrencyConverter;
  
  class ProcessStatisticsInteractor
  {
  public:
      ProcessStatisticsInteractor(const StatisticsConfigList &statisticsConfig,
                                  const AbstractCurrencyConverter &converter);
  
      Statistics processStatistics(const PortfolioEntryList &entries) const;
  private:
      const StatisticsConfigList &statisticsConfig;
      const AbstractCurrencyConverter &converter;
      void processCategoies(const PortfolioEntryList &entries, Statistics &statistics) const;
  };
  
  #endif // ProcessStatisticsInteractor_H
  