The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Macros | Functions | Variables
filesystem_sdl.cpp File Reference
#include <SDL.h>
#include <SDL_rwops.h>
#include "filesystem.hpp"
#include "log.hpp"
Include dependency graph for filesystem_sdl.cpp:

Go to the source code of this file.

Namespaces

 filesystem
 

Macros

#define ERR_FS   LOG_STREAM(err, log_filesystem)
 

Functions

static Sint64 filesystem::ifs_size (struct SDL_RWops *context)
 
static Sint64 SDLCALL filesystem::ifs_seek (struct SDL_RWops *context, Sint64 offset, int whence)
 
static size_t SDLCALL filesystem::ifs_read (struct SDL_RWops *context, void *ptr, size_t size, size_t maxnum)
 
static size_t SDLCALL filesystem::ifs_write (struct SDL_RWops *context, const void *ptr, size_t size, size_t num)
 
static int SDLCALL filesystem::ifs_close (struct SDL_RWops *context)
 
SDL_RWops * filesystem::load_RWops (const std::string &path)
 

Variables

static lg::log_domain log_filesystem ("filesystem")
 

Macro Definition Documentation

#define ERR_FS   LOG_STREAM(err, log_filesystem)

Definition at line 8 of file filesystem_sdl.cpp.

Referenced by filesystem::load_RWops().

Variable Documentation

lg::log_domain log_filesystem("filesystem")
static