My Project  + 80db3
gog.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014-2018 Daniel Scharrer
3  *
4  * This software is provided 'as-is', without any express or implied
5  * warranty. In no event will the author(s) be held liable for any damages
6  * arising from the use of this software.
7  *
8  * Permission is granted to anyone to use this software for any purpose,
9  * including commercial applications, and to alter it and redistribute it
10  * freely, subject to the following restrictions:
11  *
12  * 1. The origin of this software must not be misrepresented; you must not
13  * claim that you wrote the original software. If you use this software
14  * in a product, an acknowledgment in the product documentation would be
15  * appreciated but is not required.
16  * 2. Altered source versions must be plainly marked as such, and must not be
17  * misrepresented as being the original software.
18  * 3. This notice may not be removed or altered from any source distribution.
19  */
20 
26 #ifndef INNOEXTRACT_CLI_GOG_HPP
27 #define INNOEXTRACT_CLI_GOG_HPP
28 
29 #include <string>
30 #include <vector>
31 
32 #include <boost/filesystem/path.hpp>
33 
34 namespace setup { struct info; }
35 
36 struct extract_options;
37 
38 namespace gog {
39 
41 std::string get_game_id(const setup::info & info);
42 
43 void probe_bin_files(const extract_options & o, const setup::info & info,
44  const boost::filesystem::path & setup_file, bool external);
45 
46 } // namespace gog
47 
48 #endif // INNOEXTRACT_CLI_GOG_HPP
Definition: gog.hpp:34
Class used to hold and load the various setup headers.
Definition: info.hpp:57
Definition: gog.cpp:57
void probe_bin_files(const extract_options &o, const setup::info &info, const fs::path &setup_file, bool external)
Definition: gog.cpp:490
std::string get_game_id(const setup::info &info)
Definition: gog.cpp:59