2015-10-21 15:21:14 -07:00
|
|
|
#ifndef UTILS_H
|
|
|
|
#define UTILS_H
|
|
|
|
|
|
|
|
#include "pal.h"
|
|
|
|
|
2015-11-01 03:39:56 -08:00
|
|
|
bool ends_with(const pal::string_t& value, const pal::string_t& suffix);
|
|
|
|
pal::string_t get_executable(const pal::string_t& filename);
|
2015-10-21 15:21:14 -07:00
|
|
|
pal::string_t get_directory(const pal::string_t& path);
|
|
|
|
pal::string_t get_filename(const pal::string_t& path);
|
|
|
|
void append_path(pal::string_t& path1, const pal::char_t* path2);
|
|
|
|
|
|
|
|
#endif
|