mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
include/: refactor header files more
This commit is contained in:
parent
53266a0d5a
commit
4d1363dcae
32 changed files with 130 additions and 78 deletions
|
|
@ -4,8 +4,8 @@
|
|||
* Copyright Johan Malm 2020
|
||||
*/
|
||||
|
||||
#ifndef PARSE_H
|
||||
#define PARSE_H
|
||||
#ifndef __LABWC_PARSE_H
|
||||
#define __LABWC_PARSE_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "theme/xbm/tokenize.h"
|
||||
|
|
@ -24,4 +24,4 @@ struct pixmap xbm_create_pixmap(struct token *tokens);
|
|||
|
||||
struct pixmap xbm_create_pixmap_builtin(const char *button);
|
||||
|
||||
#endif /* PARSE_H */
|
||||
#endif /* __LABWC_PARSE_H */
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@
|
|||
* Copyright Johan Malm 2020
|
||||
*/
|
||||
|
||||
#ifndef TOKENIZE_H
|
||||
#define TOKENIZE_H
|
||||
#ifndef __LABWC_TOKENIZE_H
|
||||
#define __LABWC_TOKENIZE_H
|
||||
|
||||
enum token_type {
|
||||
TOKEN_NONE = 0,
|
||||
|
|
@ -37,4 +37,4 @@ struct token *xbm_tokenize(char *buffer);
|
|||
*/
|
||||
char *xbm_read_file(const char *filename);
|
||||
|
||||
#endif /* TOKENIZE_H */
|
||||
#endif /* __LABWC_TOKENIZE_H */
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
#ifndef XBM_H
|
||||
#define XBM_H
|
||||
#ifndef __LABWC_XBM_H
|
||||
#define __LABWC_XBM_H
|
||||
|
||||
#include <wlr/render/wlr_renderer.h>
|
||||
|
||||
#include "theme.h"
|
||||
#include "theme/xbm/parse.h"
|
||||
|
||||
/**
|
||||
|
|
@ -11,4 +10,4 @@
|
|||
*/
|
||||
void xbm_load(struct wlr_renderer *renderer);
|
||||
|
||||
#endif /* XBM_H */
|
||||
#endif /* __LABWC_XBM_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue