feat/update_config #10
@ -7,5 +7,6 @@
|
|||||||
#include "tile/base/config/configuration.h"
|
#include "tile/base/config/configuration.h"
|
||||||
#include "tile/base/config/ini_file_configuration.h"
|
#include "tile/base/config/ini_file_configuration.h"
|
||||||
#include "tile/base/config/layered_configuration.h"
|
#include "tile/base/config/layered_configuration.h"
|
||||||
|
#include "tile/base/config/toml_configuration.h"
|
||||||
|
|
||||||
#endif// TILE_BASE_CONFIGURATION_H
|
#endif// TILE_BASE_CONFIGURATION_H
|
||||||
|
@ -75,6 +75,8 @@ public:
|
|||||||
// const char*
|
// const char*
|
||||||
Slice(const char *c_str) : data_(c_str), len_(strlen(c_str)) {}
|
Slice(const char *c_str) : data_(c_str), len_(strlen(c_str)) {}
|
||||||
|
|
||||||
|
Slice(const void *data, size_t len) : data_(reinterpret_cast<const char *>(data)), len_(len) {}
|
||||||
|
|
||||||
constexpr Slice(const char *begin, const char *end) : data_(begin), len_(end - begin) {}
|
constexpr Slice(const char *begin, const char *end) : data_(begin), len_(end - begin) {}
|
||||||
|
|
||||||
constexpr Slice(const char *data, size_t len) : data_(data), len_(len) {}
|
constexpr Slice(const char *data, size_t len) : data_(data), len_(len) {}
|
||||||
|
12
tile/tile.h
12
tile/tile.h
@ -38,6 +38,15 @@
|
|||||||
#include "tile/base/variant.h"
|
#include "tile/base/variant.h"
|
||||||
#include "tile/base/write_mostly.h"
|
#include "tile/base/write_mostly.h"
|
||||||
|
|
||||||
|
// Sync
|
||||||
|
#include "tile/base/thread/cond_var.h"
|
||||||
|
#include "tile/base/thread/event.h"
|
||||||
|
#include "tile/base/thread/latch.h"
|
||||||
|
#include "tile/base/thread/mutex.h"
|
||||||
|
#include "tile/base/thread/rw_mutex.h"
|
||||||
|
#include "tile/base/thread/scoped_lock.h"
|
||||||
|
#include "tile/base/thread/unique_lock.h"
|
||||||
|
|
||||||
// util
|
// util
|
||||||
#include "tile/base/configuration.h"
|
#include "tile/base/configuration.h"
|
||||||
|
|
||||||
@ -49,4 +58,7 @@
|
|||||||
// Tile Init
|
// Tile Init
|
||||||
#include "tile/init.h"
|
#include "tile/init.h"
|
||||||
|
|
||||||
|
// sigslot
|
||||||
|
#include "sigslot/sigslot.h"
|
||||||
|
|
||||||
#endif// TILE_TILE_H
|
#endif// TILE_TILE_H
|
||||||
|
Loading…
Reference in New Issue
Block a user