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.
7 
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
16 
17 /* utility */
18 #include "mem.h"
19 
20 /* client */
21 #include "themes_common.h"
22 
23 /* client/include */
24 #include "themes_g.h"
25 
26 /*****************************************************************************
27   Loads a gtk theme directory/theme_name
28 *****************************************************************************/
gui_load_theme(const char * directory,const char * theme_name)29 void gui_load_theme(const char *directory, const char *theme_name)
30 {
31   /* Nothing */
32 }
33 
34 /*****************************************************************************
35   Clears a theme (sets default system theme)
36 *****************************************************************************/
gui_clear_theme(void)37 void gui_clear_theme(void)
38 {
39   /* Nothing */
40 }
41 
42 /*****************************************************************************
43   Each gui has its own themes directories.
44 
45   Returns an array containing these strings and sets array size in count.
46   The caller is responsible for freeing the array and the paths.
47 *****************************************************************************/
get_gui_specific_themes_directories(int * count)48 char **get_gui_specific_themes_directories(int *count)
49 {
50   *count = 0;
51 
52   return fc_malloc(sizeof(char*) * 0);
53 }
54 
55 /*****************************************************************************
56   Return an array of names of usable themes in the given directory.
57   Array size is stored in count.
58   Useable theme for gtk+ is a directory which contains file gtk-2.0/gtkrc.
59   The caller is responsible for freeing the array and the names
60 *****************************************************************************/
get_useable_themes_in_directory(const char * directory,int * count)61 char **get_useable_themes_in_directory(const char *directory, int *count)
62 {
63   *count = 0;
64   return fc_malloc(sizeof(char*) * 0);
65 }
66