Freeciv21
Develop your civilization from humble roots to a global empire
themes_common.h
Go to the documentation of this file.
1 /***********************************************************************
2 _ ._ Copyright (c) 1996-2021 Freeciv21 and Freeciv contributors.
3  \ | This file is part of Freeciv21. Freeciv21 is free software: you
4  \_| can redistribute it and/or modify it under the terms of the
5  .' '. GNU General Public License as published by the Free
6  :O O: Software Foundation, either version 3 of the License,
7  '/ \' or (at your option) any later version. You should have
8  :X: received a copy of the GNU General Public License along with
9  :X: Freeciv21. If not, see https://www.gnu.org/licenses/.
10 ***********************************************************************/
11 #pragma once
12 
13 #include <QString>
14 #include <QVector>
15 
16 void init_themes();
17 const QVector<QString> *get_themes_list(const struct option *poption);
18 bool load_theme(const QString &theme_name);
19 void theme_reread_callback(struct option *option);
The base class for options.
Definition: options.cpp:209
void theme_reread_callback(struct option *option)
Wrapper for load_theme.
bool load_theme(const QString &theme_name)
Loads a theme with the given name.
const QVector< QString > * get_themes_list(const struct option *poption)
Return a static string vector of useable theme names.
void init_themes()
Initialized themes data.