include/: tidy up header files

This commit is contained in:
Johan Malm 2020-08-07 20:21:14 +01:00
parent 2d6921039d
commit 649437e336
7 changed files with 17 additions and 5 deletions

View file

@ -1,6 +1,10 @@
#ifndef __LABWC_THEME_DIR_H
#define __LABWC_THEME_DIR_H
/**
* theme_dir - find theme directory containing theme @theme_name
* @theme_name: theme to search for
*/
char *theme_dir(const char *theme_name);
#endif /* __LABWC_THEME_DIR_H */

View file

@ -21,6 +21,11 @@ struct theme {
extern struct theme theme;
/**
* theme_read - read theme into global theme struct
* @theme_name: theme-name in <theme-dir>/<theme-name>/openbox-3/themerc
* Note <theme-dir> is obtained in theme-dir.c
*/
void theme_read(const char *theme_name);
#endif /* __LABWC_THEME_H */