mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-15 01:10:52 +08:00
9697f95b8f
This reverts commit 15d999759e
.
18 lines
280 B
C++
18 lines
280 B
C++
#pragma once
|
|
|
|
class global : public acl::singleton<global>
|
|
{
|
|
public:
|
|
global();
|
|
~global();
|
|
|
|
const char* get_path() const
|
|
{
|
|
return path_.c_str();
|
|
}
|
|
|
|
static void get_filename(const char* filepath, acl::string& buf);
|
|
protected:
|
|
private:
|
|
acl::string path_;
|
|
}; |