Some miscellaneous updates to main help, for new features and otherwise.
[freeciv.git] / client / gui-qt / themes.cpp
blob37780b1037832cf1fc21eb92bbb4f291afbf1713
1 /**********************************************************************
2 Freeciv - Copyright (C) 2005 The Freeciv Team
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12 ***********************************************************************/
13 #ifdef HAVE_CONFIG_H
14 #include <fc_config.h>
15 #endif
17 /* utility */
18 #include "mem.h"
20 /* client */
21 #include "themes_common.h"
23 // gui-qt
24 #include "qtg_cxxside.h"
26 /* client/include */
27 #include "themes_g.h"
29 /*****************************************************************************
30 Loads a gtk theme directory/theme_name
31 *****************************************************************************/
32 void qtg_gui_load_theme(const char *directory, const char *theme_name)
34 /* Nothing */
37 /*****************************************************************************
38 Clears a theme (sets default system theme)
39 *****************************************************************************/
40 void qtg_gui_clear_theme()
42 /* Nothing */
45 /*****************************************************************************
46 Each gui has its own themes directories.
48 Returns an array containing these strings and sets array size in count.
49 The caller is responsible for freeing the array and the paths.
50 *****************************************************************************/
51 char **qtg_get_gui_specific_themes_directories(int *count)
53 *count = 0;
55 return (char **) fc_malloc(sizeof(char*) * 0);
58 /*****************************************************************************
59 Return an array of names of usable themes in the given directory.
60 Array size is stored in count.
61 The caller is responsible for freeing the array and the names
62 *****************************************************************************/
63 char **qtg_get_useable_themes_in_directory(const char *directory, int *count)
65 *count = 0;
66 return (char **) fc_malloc(sizeof(char*) * 0);