acl/app/net_tools/global/global.h

18 lines
280 B
C
Raw Normal View History

#pragma once
2014-11-19 00:25:21 +08:00
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_;
};