#include <Shlwapi.h>
#include <Shlobj.h>
#include <direct.h>
#include <windows.h>
#include <wincon.h>
#include <process.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <string>
#include <vector>
#include <iostream>
#include <sstream>
#include <istream>
#include "stratagus-tinyfiledialogs.h"
Go to the source code of this file.
|
void | error (const char *title, const char *text) |
|
void | mkdir_p (const char *path) |
|
void | copy_dir (const char *source_folder, const char *target_folder) |
|
void | mkdir_p (const wchar_t *path) |
|
void | copy_dir (fs::path source_folder, fs::path target_folder) |
|
char * | GetExtractionLogPath (const char *game_name, char *data_path) |
|
wchar_t * | GetExtractionLogPath (const wchar_t *game_name, const wchar_t *data_path) |
|
void | ArgvQuote (const std::wstring &Argument, std::wstring &CommandLine, bool Force) |
|
int | runCommand (std::wstring &file, std::vector< std::wstring > argv, bool echo=false, std::wstring *outputCommandline=NULL) |
|
◆ _CRT_SECURE_NO_DEPRECATE
#define _CRT_SECURE_NO_DEPRECATE |
◆ _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_WARNINGS |
◆ _WIN32_WINNT
#define _WIN32_WINNT 0x0501 |
◆ BUFF_SIZE
#define BUFF_SIZE MAX_PATH |
◆ mkdir
#define mkdir |
( |
|
f, |
|
|
|
m |
|
) |
| _mkdir(f) |
◆ NTDDI_VERSION
#define NTDDI_VERSION 0x05010200 |
◆ parentdir
#define parentdir |
( |
|
x | ) |
PathRemoveFileSpec(x); if (x[strlen(x) - 1] == '\\') x[strlen(x) - 1] = '\0' |
◆ PATH_MAX
#define PATH_MAX MAX_PATH |
◆ QUOTE
◆ WINVER
◆ ArgvQuote()
void ArgvQuote |
( |
const std::wstring & |
Argument, |
|
|
std::wstring & |
CommandLine, |
|
|
bool |
Force |
|
) |
| |
◆ copy_dir() [1/2]
void copy_dir |
( |
const char * |
source_folder, |
|
|
const char * |
target_folder |
|
) |
| |
◆ copy_dir() [2/2]
void copy_dir |
( |
fs::path |
source_folder, |
|
|
fs::path |
target_folder |
|
) |
| |
◆ error()
void error |
( |
const char * |
title, |
|
|
const char * |
text |
|
) |
| |
◆ GetExtractionLogPath() [1/2]
char* GetExtractionLogPath |
( |
const char * |
game_name, |
|
|
char * |
data_path |
|
) |
| |
◆ GetExtractionLogPath() [2/2]
wchar_t* GetExtractionLogPath |
( |
const wchar_t * |
game_name, |
|
|
const wchar_t * |
data_path |
|
) |
| |
◆ mkdir_p() [1/2]
void mkdir_p |
( |
const char * |
path | ) |
|
◆ mkdir_p() [2/2]
void mkdir_p |
( |
const wchar_t * |
path | ) |
|
◆ runCommand()
int runCommand |
( |
std::wstring & |
file, |
|
|
std::vector< std::wstring > |
argv, |
|
|
bool |
echo = false , |
|
|
std::wstring * |
outputCommandline = NULL |
|
) |
| |
(C) Copyright 1998-2012 by The