Begin removing several dependencies on Config object

This commit is contained in:
2019-09-29 17:12:36 +02:00
vanhempi 327c0793d1
commit 364d82a99f
9 muutettua tiedostoa jossa 127 lisäystä ja 79 poistoa

Näytä tiedosto

@@ -5,12 +5,12 @@
class UrlProvider
{
private:
const Config *config;
const ConfigUrls *config;
std::string replaceOnlyPage(std::string templatepart, std::string page);
public:
UrlProvider(const Config &config)
UrlProvider(const ConfigUrls &config)
{
this->config = &config;
}