2008-06-01 11:43:20 +00:00
|
|
|
/* ScummVM - Graphic Adventure Engine
|
|
|
|
*
|
|
|
|
* ScummVM is the legal property of its developers, whose names
|
|
|
|
* are too numerous to list here. Please refer to the COPYRIGHT
|
|
|
|
* file distributed with this source distribution.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it 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.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2011-01-28 02:56:07 +00:00
|
|
|
/**
|
|
|
|
* @file
|
|
|
|
* ARJ decompressor used in engines:
|
|
|
|
* - drascula
|
|
|
|
*/
|
|
|
|
|
2008-06-01 11:43:20 +00:00
|
|
|
#ifndef COMMON_UNARJ_H
|
|
|
|
#define COMMON_UNARJ_H
|
|
|
|
|
2011-04-24 08:34:27 +00:00
|
|
|
#include "common/str.h"
|
|
|
|
|
2008-06-01 11:43:20 +00:00
|
|
|
namespace Common {
|
|
|
|
|
2010-02-08 21:51:36 +00:00
|
|
|
class Archive;
|
|
|
|
|
2010-02-08 21:46:50 +00:00
|
|
|
/**
|
|
|
|
* This factory method creates an Archive instance corresponding to the content
|
|
|
|
* of the ARJ compressed file with the given name.
|
2010-02-13 11:56:30 +00:00
|
|
|
*
|
|
|
|
* May return 0 in case of a failure.
|
2010-02-08 21:46:50 +00:00
|
|
|
*/
|
|
|
|
Archive *makeArjArchive(const String &name);
|
2010-02-08 16:15:05 +00:00
|
|
|
|
2008-06-01 11:43:20 +00:00
|
|
|
} // End of namespace Common
|
|
|
|
|
|
|
|
#endif
|