mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-15 17:30:53 +08:00
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_;
|
|
}; |