]> Pileus Git - ~andy/aweather-web/blob - html.h
a1b6fc55a56bc048dda7b3e21717579db2a6c68b
[~andy/aweather-web] / html.h
1 /* Version information */
2 #define VERSION       "0.7"
3 #define VERSION_GRITS "0.7"
4 #define VERSION_WIN   "0.7"
5 #define VERSION_MAC   "0.7"
6
7 #define VERSION_DESC  "Version " VERSION " a GPS tracking plugin for Linux " \
8                       "along with various other updates and bug fixes"
9
10 /* Link info */
11 #define WIKI_INDEX    "/code/projects/aweather/wiki"
12 #define WIKI_INSTALL  "/code/projects/aweather/wiki/Install"
13
14 #define BUG_LIST      "/code/projects/aweather/issues"
15 #define BUG_NEW       "/code/projects/aweather/issues/new"
16
17 #define GIT_AWEATHER  "git://lug.rose-hulman.edu/proj/aweather"
18 #define GIT_GRITS     "git://lug.rose-hulman.edu/proj/grits"
19 #define GIT_RSL       "git://lug.rose-hulman.edu/~spenceal/rsl"
20 #define GIT_PKG       "git://lug.rose-hulman.edu/~spenceal/aweather-pkg"
21 #define GIT_WEB       "git://lug.rose-hulman.edu/~spenceal/aweather-web"
22
23 #define GW_AWEATHER   "/git/?p=proj/aweather"
24 #define GW_GRITS      "/git/?p=proj/grits"
25 #define GW_RSL        "/git/?p=~spenceal/rsl"
26 #define GW_PKG        "/git/?p=~spenceal/aweather-pkg"
27 #define GW_WEB        "/git/?p=~spenceal/aweather-web"
28
29 #define RSL_TAR       "rsl-v1.42.tar.gz"
30 #define RSL_WEB       "http://trmm-fc.gsfc.nasa.gov/trmm_gv/software/rsl/"
31 #define RSL_FTP       "ftp://trmm-fc.gsfc.nasa.gov/software/"
32
33 #define GENTOO_HOME   "http://gpo.zugaina.org/sci-geosciences/aweather"
34 #define DEBIAN_HOME   "http://packages.debian.org/unstable/aweather"
35 #define UBUNTU_HOME   "http://packages.ubuntu.com/oneiric/science/aweather"
36 #define UBUNTU_PPA    "https://launchpad.net/~andy753421/+archive/aweather"
37 #define ARCH_HOME     "http://aur.archlinux.org/packages.php?ID=52003"
38 #define SLACKY_HOME   "http://www.slacky.eu/asche/pkgs/index.php?pkg=2682"
39
40 #define PREFIX        "http://lug.rose-hulman.edu/proj/aweather/"
41
42 /* Types */
43 typedef struct {
44         const char *link;
45         const char *name;
46         void (*print)(void);
47         float prio;
48         /* Optional */
49         const char *desc;
50 } page_t;
51
52 /* Data */
53 extern page_t header[];
54 extern page_t other[];
55 extern page_t footer[];
56 extern page_t special[];
57
58 /* Global functions */
59 void print_file(char *file);
60 void print_header(void);
61 void print_page(const page_t *which);
62
63 /* Pages */
64 void print_about(void);
65 void print_manual(void);
66 void print_news(void);
67 void print_oldnews(void);
68 void print_screenshots(void);
69 void print_download(void);
70 void print_development(void);
71 void print_grits(void);
72 void print_rsl(void);
73
74 void print_contact(void);
75 void print_legal(void);
76
77 void print_index(void);
78 void print_notfound(void);
79 void print_sitemap(const page_t **pages);