mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
27 lines
407 B
C++
27 lines
407 B
C++
|
#pragma once
|
||
|
|
||
|
#include <boost/noncopyable.hpp>
|
||
|
|
||
|
namespace AB_NAMESPACE {
|
||
|
|
||
|
class Settings;
|
||
|
class Paths;
|
||
|
|
||
|
class Singleton : boost::noncopyable
|
||
|
{
|
||
|
public:
|
||
|
virtual ~Singleton() = default;
|
||
|
|
||
|
virtual void initialize(Settings &settings, Paths &paths)
|
||
|
{
|
||
|
(void)(settings);
|
||
|
(void)(paths);
|
||
|
}
|
||
|
|
||
|
virtual void save()
|
||
|
{
|
||
|
}
|
||
|
};
|
||
|
|
||
|
} // namespace AB_NAMESPACE
|