ofen/include/of_path.h

21 lines
476 B
C
Raw Normal View History

2024-11-14 16:04:54 +08:00
#ifndef OFEN_PATH_HEADER
#define OFEN_PATH_HEADER
#include "of_def.hpp"
2024-11-14 16:04:54 +08:00
namespace ofen {
class COfPath
{
public:
COfPath();
~COfPath();
public:
static bool isSamePath(const ofString& pa, const ofString& pb);
static ofString normalizePath(const ofString& path);
static ofString replaceStr(const ofString& str, const ofString& from, const ofString& to);
2024-11-29 10:53:51 +08:00
static ofString getFullRunPath();
static ofString getHome();
2024-11-14 16:04:54 +08:00
};
}; // namespace ofen
#endif