#include <vector>#include <cstdint>#include <strings.h>#include <dirent.h>#include <limits.h>#include <fcntl.h>Go to the source code of this file.
Macros | |
| #define | DEPRECATED |
| #define | GNUC_FORMAT_ATTRIBUTE |
| #define | GNUC_FORMAT_ATTRIBUTE_O |
| #define | ALWAYS_INLINE inline |
| #define | NORETURN |
| #define | BREAKPOINT_HERE ((void)0) |
| #define | C4_OS "" |
| #define | _O_BINARY 0 |
| #define | _MAX_PATH PATH_MAX |
| #define | _MAX_FNAME NAME_MAX |
| #define | _MAX_PATH_LEN _MAX_PATH + 1 |
| #define | _MAX_FNAME_LEN _MAX_FNAME + 1 |
| #define | O_CLOEXEC 0 |
| #define | DirSep "/" |
| #define | DirectorySeparator '/' |
| #define | AltDirectorySeparator '\\' |
Typedefs | |
| typedef ptrdiff_t | ssize_t |
| typedef uint32_t | DWORD |
| typedef uint8_t | BYTE |
| typedef uint16_t | WORD |
Functions | |
| int | stricmp (const char *s1, const char *s2) |
| bool | EraseItemSafe (const char *szFilename) |
| bool | IsGermanSystem () |
| bool | OpenURL (const char *szURL) |
| bool | RestartApplication (std::vector< const char * > parameters) |
| bool | CopyFile (const char *szSource, const char *szTarget, bool FailIfExists) |
| #define _MAX_FNAME NAME_MAX |
Definition at line 184 of file PlatformAbstraction.h.
| #define _MAX_FNAME_LEN _MAX_FNAME + 1 |
Definition at line 189 of file PlatformAbstraction.h.
| #define _MAX_PATH PATH_MAX |
Definition at line 183 of file PlatformAbstraction.h.
| #define _MAX_PATH_LEN _MAX_PATH + 1 |
Definition at line 188 of file PlatformAbstraction.h.
| #define _O_BINARY 0 |
Definition at line 182 of file PlatformAbstraction.h.
| #define AltDirectorySeparator '\\' |
Definition at line 203 of file PlatformAbstraction.h.
| #define ALWAYS_INLINE inline |
Definition at line 101 of file PlatformAbstraction.h.
| #define BREAKPOINT_HERE ((void)0) |
Definition at line 120 of file PlatformAbstraction.h.
| #define C4_OS "" |
Definition at line 161 of file PlatformAbstraction.h.
| #define DEPRECATED |
Definition at line 62 of file PlatformAbstraction.h.
| #define DirectorySeparator '/' |
Definition at line 202 of file PlatformAbstraction.h.
| #define DirSep "/" |
Definition at line 201 of file PlatformAbstraction.h.
| #define GNUC_FORMAT_ATTRIBUTE |
Definition at line 99 of file PlatformAbstraction.h.
| #define GNUC_FORMAT_ATTRIBUTE_O |
Definition at line 100 of file PlatformAbstraction.h.
| #define NORETURN |
Definition at line 102 of file PlatformAbstraction.h.
| #define O_CLOEXEC 0 |
Definition at line 193 of file PlatformAbstraction.h.
| typedef uint8_t BYTE |
Definition at line 135 of file PlatformAbstraction.h.
| typedef uint32_t DWORD |
Definition at line 134 of file PlatformAbstraction.h.
| typedef ptrdiff_t ssize_t |
Definition at line 84 of file PlatformAbstraction.h.
| typedef uint16_t WORD |
Definition at line 136 of file PlatformAbstraction.h.
| bool CopyFile | ( | const char * | szSource, |
| const char * | szTarget, | ||
| bool | FailIfExists | ||
| ) |
| bool EraseItemSafe | ( | const char * | szFilename | ) |
Definition at line 42 of file C4GroupMain.cpp.
Referenced by C4Group_DeleteItem(), and C4Group::DeleteEntry().
| bool IsGermanSystem | ( | ) |
Definition at line 193 of file C4AppMac.mm.
Referenced by C4ConfigGeneral::DefaultLanguage().
| bool OpenURL | ( | const char * | szURL | ) |
Definition at line 199 of file C4AppMac.mm.
| bool RestartApplication | ( | std::vector< const char * > | parameters | ) |
Definition at line 81 of file PlatformAbstraction.cpp.
References _MAX_PATH, Application, C4Application::argv0, Config, C4ConfigGeneral::ExePath, C4Config::General, and C4Application::Quit().
Referenced by C4StartupNetDlg::DoOK(), and C4StartupMainDlg::OnEditorBtn().
|
inline |
Definition at line 139 of file PlatformAbstraction.h.
Referenced by EntrySortFunc(), C4MainStat::Show(), C4Group::Sort(), and C4ChatControl::ChatSheet::NickItem::SortFunc().