wmcore: use CPPFLAGS and LDFLAGS.
[dockapps.git] / wmmemfree / options.h
bloba07e20f5ad58bfc29e0ef39714eb80ea1230da0d
1 /*
2 * options.h
4 * Copyright (C) 2003 Draghicioiu Mihai <misuceldestept@go.ro>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA.
21 #ifndef __OPTIONS_H__
22 #define __OPTIONS_H__
24 #include <stdio.h>
26 /* The version number */
27 #ifndef OPT_VERSION
28 #define OPT_VERSION "0.8"
29 #endif /* OPT_VERSION */
31 /* The X11 display to connect to */
32 #ifndef OPT_DISPLAY
33 #define OPT_DISPLAY NULL
34 #endif /* OPT_DISPLAY */
36 /* Number of miliseconds between updates */
37 #ifndef OPT_MILISECS
38 #define OPT_MILISECS 100
39 #endif /* OPT_MILISECS */
41 /* Include buffers in physical memory display */
42 #ifndef OPT_BUFFERS
43 #define OPT_BUFFERS 0
44 #endif /* OPT_BUFFERS */
46 /* Include cache in physical memory display */
47 #ifndef OPT_CACHE
48 #define OPT_CACHE 0
49 #endif /* OPT_CACHE */
51 /* Run in a window */
52 #ifndef OPT_WINDOW
53 #define OPT_WINDOW 0
54 #endif /* OPT_WINDOW */
56 /* Use the XShape extension */
57 #ifndef OPT_SHAPE
58 #define OPT_SHAPE 1
59 #endif /* OPT_WINDOW */
61 /* Window class hint name */
62 #ifndef OPT_CLASS_NAME
63 #define OPT_CLASS_NAME "wmmemfree"
64 #endif /* OPT_CLASS_NAME */
66 /* Window class hint class */
67 #ifndef OPT_CLASS_CLASS
68 #define OPT_CLASS_CLASS "WMMemFree"
69 #endif /* OPT_CLASS_CLASS */
71 /* The window title */
72 #ifndef OPT_WINDOW_NAME
73 #define OPT_WINDOW_NAME "WMMemFree"
74 #endif /* OPT_WINDOW_NAME */
76 extern char *opt_display;
77 extern int opt_buffers;
78 extern int opt_cache;
79 extern int opt_window;
80 extern int opt_shape;
81 extern int opt_milisecs;
83 void parse_args(void);
85 #endif /* __OPTIONS_H__ */