mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-15 09:20:52 +08:00
18 lines
283 B
C++
18 lines
283 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_;
|
|
}; |