OpenMW
|
00001 /* 00002 OpenMW - The completely unofficial reimplementation of Morrowind 00003 Copyright (C) 2008-2010 Nicolay Korslund 00004 Email: < korslund@gmail.com > 00005 WWW: http://openmw.sourceforge.net/ 00006 00007 This file (cpp_bsaarchive.h) is part of the OpenMW package. 00008 00009 OpenMW is distributed as free software: you can redistribute it 00010 and/or modify it under the terms of the GNU General Public License 00011 version 3, as published by the Free Software Foundation. 00012 00013 This program is distributed in the hope that it will be useful, but 00014 WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00016 General Public License for more details. 00017 00018 You should have received a copy of the GNU General Public License 00019 version 3 along with this program. If not, see 00020 http://www.gnu.org/licenses/ . 00021 00022 */ 00023 00024 #include <string> 00025 #include <boost/filesystem.hpp> 00026 #include <boost/algorithm/string.hpp> 00027 #include <algorithm> 00028 00029 #ifndef BSA_BSA_ARCHIVE_H 00030 #define BSA_BSA_ARCHIVE_H 00031 00032 namespace Bsa 00033 { 00034 00037 void addBSA(const std::string& file, const std::string& group="General"); 00038 void addDir(const std::string& file, const bool& fs, const std::string& group="General"); 00039 00040 } 00041 00042 #endif