godot/core/io/file_access_pack.cpp

/**************************************************************************/
/*  file_access_pack.cpp                                                  */
/**************************************************************************/
/*                         This file is part of:                          */
/*                             GODOT ENGINE                               */
/*                        https://godotengine.org                         */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur.                  */
/*                                                                        */
/* Permission is hereby granted, free of charge, to any person obtaining  */
/* a copy of this software and associated documentation files (the        */
/* "Software"), to deal in the Software without restriction, including    */
/* without limitation the rights to use, copy, modify, merge, publish,    */
/* distribute, sublicense, and/or sell copies of the Software, and to     */
/* permit persons to whom the Software is furnished to do so, subject to  */
/* the following conditions:                                              */
/*                                                                        */
/* The above copyright notice and this permission notice shall be         */
/* included in all copies or substantial portions of the Software.        */
/*                                                                        */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,        */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF     */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY   */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,   */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE      */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.                 */
/**************************************************************************/

#include "file_access_pack.h"

#include "core/io/file_access_encrypted.h"
#include "core/object/script_language.h"
#include "core/os/os.h"
#include "core/version.h"

#include <stdio.h>

Error PackedData::add_pack(const String &p_path, bool p_replace_files, uint64_t p_offset) {}

void PackedData::add_path(const String &p_pkg_path, const String &p_path, uint64_t p_ofs, uint64_t p_size, const uint8_t *p_md5, PackSource *p_src, bool p_replace_files, bool p_encrypted) {}

void PackedData::add_pack_source(PackSource *p_source) {}

PackedData *PackedData::singleton =;

PackedData::PackedData() {}

void PackedData::_free_packed_dirs(PackedDir *p_dir) {}

PackedData::~PackedData() {}

//////////////////////////////////////////////////////////////////

bool PackedSourcePCK::try_open_pack(const String &p_path, bool p_replace_files, uint64_t p_offset) {}

Ref<FileAccess> PackedSourcePCK::get_file(const String &p_path, PackedData::PackedFile *p_file) {}

//////////////////////////////////////////////////////////////////

Error FileAccessPack::open_internal(const String &p_path, int p_mode_flags) {}

bool FileAccessPack::is_open() const {}

void FileAccessPack::seek(uint64_t p_position) {}

void FileAccessPack::seek_end(int64_t p_position) {}

uint64_t FileAccessPack::get_position() const {}

uint64_t FileAccessPack::get_length() const {}

bool FileAccessPack::eof_reached() const {}

uint64_t FileAccessPack::get_buffer(uint8_t *p_dst, uint64_t p_length) const {}

void FileAccessPack::set_big_endian(bool p_big_endian) {}

Error FileAccessPack::get_error() const {}

void FileAccessPack::flush() {}

void FileAccessPack::store_buffer(const uint8_t *p_src, uint64_t p_length) {}

bool FileAccessPack::file_exists(const String &p_name) {}

void FileAccessPack::close() {}

FileAccessPack::FileAccessPack(const String &p_path, const PackedData::PackedFile &p_file) :{}

//////////////////////////////////////////////////////////////////////////////////
// DIR ACCESS
//////////////////////////////////////////////////////////////////////////////////

Error DirAccessPack::list_dir_begin() {}

String DirAccessPack::get_next() {}

bool DirAccessPack::current_is_dir() const {}

bool DirAccessPack::current_is_hidden() const {}

void DirAccessPack::list_dir_end() {}

int DirAccessPack::get_drive_count() {}

String DirAccessPack::get_drive(int p_drive) {}

PackedData::PackedDir *DirAccessPack::_find_dir(const String &p_dir) {}

Error DirAccessPack::change_dir(String p_dir) {}

String DirAccessPack::get_current_dir(bool p_include_drive) const {}

bool DirAccessPack::file_exists(String p_file) {}

bool DirAccessPack::dir_exists(String p_dir) {}

Error DirAccessPack::make_dir(String p_dir) {}

Error DirAccessPack::rename(String p_from, String p_to) {}

Error DirAccessPack::remove(String p_name) {}

uint64_t DirAccessPack::get_space_left() {}

String DirAccessPack::get_filesystem_type() const {}

DirAccessPack::DirAccessPack() {}