mirror of
https://github.com/glest/glest-source.git
synced 2025-09-27 16:09:00 +02:00
saved games for rejoining in progress games saves to .zip and sends that to clients.
This commit is contained in:
26
source/shared_lib/include/compression/compression_utils.h
Normal file
26
source/shared_lib/include/compression/compression_utils.h
Normal file
@@ -0,0 +1,26 @@
|
||||
// ==============================================================
|
||||
// This file is part of MegaGlest Shared Library (www.megaglest.org)
|
||||
//
|
||||
// Copyright (C) 2013 Mark Vejvoda
|
||||
//
|
||||
// You can redistribute this code and/or modify it under
|
||||
// the terms of the GNU General Public License as published
|
||||
// by the Free Software Foundation; either version 2 of the
|
||||
// License, or (at your option) any later version
|
||||
// ==============================================================
|
||||
|
||||
#ifndef _SHARED_COMPRESSION_UTIL_CHECKSUM_H_
|
||||
#define _SHARED_COMPRESSION_UTIL_CHECKSUM_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
using std::string;
|
||||
|
||||
namespace Shared{ namespace CompressionUtil{
|
||||
|
||||
bool compressFileToZIPFile(string inFile, string outFile, int compressionLevel=5);
|
||||
bool extractFileFromZIPFile(string inFile, string outFile);
|
||||
|
||||
}};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user