clean seafile api
This commit is contained in:
1 parent
133424f5f8
commit
3e4694ceb5
14 files changed
+476
-290
No files matched your search
@@ -0,0 +1,20 @@
|
||||
//
|
||||
// Created by shell on 2025/12/4.
|
||||
//
|
||||
|
||||
#ifndef SEADISK_APPLICATION_PATH_HPP
|
||||
#define SEADISK_APPLICATION_PATH_HPP
|
||||
#include <filesystem>
|
||||
|
||||
namespace shell::util {
|
||||
class ApplicationPath final {
|
||||
public:
|
||||
/**
|
||||
*@brief 获取当前程序的路径
|
||||
* @return 返回当前的程序路径
|
||||
*/
|
||||
static std::filesystem::path get();
|
||||
};
|
||||
}
|
||||
|
||||
#endif //SEADISK_APPLICATION_PATH_HPP
|
||||
@@ -2,8 +2,8 @@
|
||||
// Created by Shell on 2026-04-13.
|
||||
//
|
||||
|
||||
#ifndef FORCAST_API_ICU_RAII_H
|
||||
#define FORCAST_API_ICU_RAII_H
|
||||
#ifndef SEADISK_ICU_RAII_H
|
||||
#define SEADISK_ICU_RAII_H
|
||||
#include <unicode/ucsdet.h>
|
||||
|
||||
struct UCharsetDetectorDeleter final
|
||||
@@ -19,4 +19,4 @@ struct UCharsetDetectorDeleter final
|
||||
|
||||
using UCharsetDetectorPtr = std::unique_ptr<UCharsetDetector, UCharsetDetectorDeleter>;
|
||||
|
||||
#endif //FORCAST_API_ICU_RAII_H
|
||||
#endif //SEADISK_ICU_RAII_H
|
||||
@@ -2,8 +2,8 @@
|
||||
// Created by Shell on 2025-12-17.
|
||||
//
|
||||
|
||||
#ifndef FORCAST_API_CLIENT_STRING_UTIL_HPP
|
||||
#define FORCAST_API_CLIENT_STRING_UTIL_HPP
|
||||
#ifndef SEADISK_STRING_UTIL_HPP
|
||||
#define SEADISK_STRING_UTIL_HPP
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
@@ -24,4 +24,4 @@ namespace shell::util {
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif //FORCAST_API_CLIENT_STRING_UTIL_HPP
|
||||
#endif //SEADISK_STRING_UTIL_HPP
|
||||
Reference in new issue
Block a user