Freeciv21
Develop your civilization from humble roots to a global empire
registry.cpp
Go to the documentation of this file.
1
/*__ ___ ***************************************
2
/ \ / \ Copyright (c) 1996-2020 Freeciv21 and Freeciv
3
\_ \ / __/ contributors. This file is part of Freeciv21.
4
_\ \ / /__ Freeciv21 is free software: you can redistribute it
5
\___ \____/ __/ and/or modify it under the terms of the GNU General
6
\_ _/ Public License as published by the Free Software
7
| @ @ \_ Foundation, either version 3 of the License,
8
| or (at your option) any later version.
9
_/ /\ You should have received a copy of the GNU
10
/o) (o/\ \_ General Public License along with Freeciv21.
11
\_____/ / If not, see https://www.gnu.org/licenses/.
12
\____/ ********************************************************/
13
14
#include "
registry.h
"
15
16
#include "
registry_ini.h
"
17
21
struct
section_file
*
secfile_load
(
const
QString &filename,
22
bool
allow_duplicates
)
23
{
24
return
secfile_load_section
(filename,
nullptr
,
allow_duplicates
);
25
}
secfile_load
struct section_file * secfile_load(const QString &filename, bool allow_duplicates)
Create a section file from a file.
Definition:
registry.cpp:21
registry.h
secfile_load_section
struct section_file * secfile_load_section(const QString &filename, const QString §ion, bool allow_duplicates)
Create a section file from a file, read only one particular section.
Definition:
registry_ini.cpp:573
registry_ini.h
section_file
Definition:
section_file.h:36
section_file::allow_duplicates
bool allow_duplicates
Definition:
section_file.h:45
utility
registry.cpp
Generated by
1.9.1