mirror of https://gitlab.com/cppit/jucipp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
370 B
21 lines
370 B
|
11 years ago
|
#ifndef JUCI_SINGLETONS_H_
|
||
|
|
#define JUCI_SINGLETONS_H_
|
||
|
|
|
||
|
|
#include "keybindings.h"
|
||
|
|
#include "source.h"
|
||
|
|
#include "directories.h"
|
||
|
|
#include "terminal.h"
|
||
|
|
|
||
|
|
namespace Singletons {
|
||
|
|
class Config {
|
||
|
|
public:
|
||
|
|
static Source::Config *source() {
|
||
|
|
return source_.get();
|
||
|
|
}
|
||
|
|
private:
|
||
|
|
static std::unique_ptr<Source::Config> source_;
|
||
|
|
};
|
||
|
|
}
|
||
|
|
|
||
|
|
#endif // JUCI_SINGLETONS_H_
|