|
|
| version 1.30, 2020/12/15 17:10:31 | version 1.35, 2026/09/18 20:08:37 |
|---|---|
| Line 1 | Line 1 |
| /** @file | /** @file |
| Parser: directory scanning for different OS-es decls. | Parser: directory scanning for different OS-es decls. |
| Copyright (c) 2000-2020 Art. Lebedev Studio (http://www.artlebedev.com) | Copyright (c) 2000-2026 Art. Lebedev Studio (https://www.artlebedev.com) |
| Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru) | Authors: Konstantin Morshnev <moko@design.ru>, Alexandr Petrosian <paf@design.ru> |
| */ | */ |
| #ifndef PA_DIR_H | #ifndef PA_DIR_H |
| Line 21 | Line 21 |
| #include <windows.h> | #include <windows.h> |
| #define MAXPATH MAX_PATH | #define MAXPATH ((MAX_PATH)*2) /*UTF-16*/ |
| struct ffblk { | struct ffblk { |
| struct _WIN32_FIND_DATAW stat; | struct _WIN32_FIND_DATAW stat; |
| Line 80 void findclose(struct ffblk *_ffblk); | Line 80 void findclose(struct ffblk *_ffblk); |
| } \ | } \ |
| } | } |
| class String; | |
| #ifdef WIN32 | |
| bool is_os_absolute_path(const String& path); | |
| bool is_os_absolute_path(const char* path); | |
| #else | |
| inline bool is_os_absolute_path(const String&) { return false; } | |
| inline bool is_os_absolute_path(const char*) { return false; } | |
| #endif | |
| #endif | #endif |