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)
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 ***********************************************************************/
14 #include <fc_config.h>
21 #include "themes_common.h"
24 #include "qtg_cxxside.h"
29 /*****************************************************************************
30 Loads a gtk theme directory/theme_name
31 *****************************************************************************/
32 void qtg_gui_load_theme(const char *directory
, const char *theme_name
)
37 /*****************************************************************************
38 Clears a theme (sets default system theme)
39 *****************************************************************************/
40 void qtg_gui_clear_theme()
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
)
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
)
66 return (char **) fc_malloc(sizeof(char*) * 0);