mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
24 lines
358 B
C++
24 lines
358 B
C++
#pragma once
|
|
|
|
#include <boost/noncopyable.hpp>
|
|
|
|
namespace chatterino {
|
|
|
|
class Application;
|
|
|
|
class Singleton : boost::noncopyable
|
|
{
|
|
virtual ~Singleton() = default;
|
|
|
|
virtual void initialize(Application &application)
|
|
{
|
|
(void)(application);
|
|
}
|
|
|
|
virtual void finalize()
|
|
{
|
|
}
|
|
};
|
|
|
|
} // namespace chatterino
|