mirror of
https://github.com/ksherlock/afp.git
synced 2024-06-06 05:29:30 +00:00
fixup header
This commit is contained in:
parent
b9b674aa9e
commit
a95a858456
|
@ -38,10 +38,10 @@ namespace afp {
|
||||||
~finder_info();
|
~finder_info();
|
||||||
|
|
||||||
finder_info(const finder_info &) = delete;
|
finder_info(const finder_info &) = delete;
|
||||||
finder_info(finder_info &&) = delete;
|
finder_info(finder_info &&);
|
||||||
|
|
||||||
finder_info& operator=(const finder_info &) = delete;
|
finder_info& operator=(const finder_info &) = delete;
|
||||||
finder_info& operator=(finder_info &&) = delete;
|
finder_info& operator=(finder_info &&);
|
||||||
|
|
||||||
|
|
||||||
bool read(const std::string &path, std::error_code &ec) {
|
bool read(const std::string &path, std::error_code &ec) {
|
||||||
|
@ -118,14 +118,6 @@ namespace afp {
|
||||||
|
|
||||||
void close();
|
void close();
|
||||||
|
|
||||||
#if defined(_WIN32)
|
|
||||||
bool write(void *handle, std::error_code &ec);
|
|
||||||
bool read(void *handle, std::error_code &ec);
|
|
||||||
#else
|
|
||||||
bool write(int fd, std::error_code &ec);
|
|
||||||
bool read(int fd, std::error_code &ec);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
void *_fd = (void *)-1;
|
void *_fd = (void *)-1;
|
||||||
AFP_Info _afp;
|
AFP_Info _afp;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user