2018-07-03 12:07:57 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <boost/noncopyable.hpp>
|
|
|
|
|
|
|
|
namespace chatterino {
|
|
|
|
|
2018-08-02 14:23:27 +02:00
|
|
|
class Settings;
|
|
|
|
class Paths;
|
2018-07-03 12:07:57 +02:00
|
|
|
|
|
|
|
class Singleton : boost::noncopyable
|
|
|
|
{
|
2018-07-07 11:41:01 +02:00
|
|
|
public:
|
2018-08-02 14:23:27 +02:00
|
|
|
virtual ~Singleton() = default;
|
|
|
|
|
|
|
|
virtual void initialize(Settings &settings, Paths &paths)
|
2018-07-03 12:07:57 +02:00
|
|
|
{
|
2018-08-02 14:23:27 +02:00
|
|
|
(void)(settings);
|
|
|
|
(void)(paths);
|
2018-07-03 12:07:57 +02:00
|
|
|
}
|
|
|
|
|
2018-07-07 11:41:01 +02:00
|
|
|
virtual void save()
|
2018-07-03 12:07:57 +02:00
|
|
|
{
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace chatterino
|