]> Pileus Git - ~andy/aweather-web/blob - html.h
Version 0.5.2
[~andy/aweather-web] / html.h
1 /* Version information */
2 #define VERSION        "0.5.2"
3 #define VERSION_WIN32  "0.5.1"
4
5 #define VERSION_DESC   "Version " VERSION " contains additional bug fixes and new desktop icons"
6
7 /* Link info */
8 #define WIKI_INDEX   "/code/projects/aweather/wiki"
9 #define WIKI_INSTALL "/code/projects/aweather/wiki/Install"
10
11 #define BUG_LIST     "/code/projects/aweather/issues"
12 #define BUG_NEW      "/code/projects/aweather/issues/new"
13
14 #define GIT_AWEATHER "git://lug.rose-hulman.edu/proj/aweather"
15 #define GIT_GRITS    "git://lug.rose-hulman.edu/proj/grits"
16 #define GIT_RSL      "git://lug.rose-hulman.edu/~spenceal/rsl"
17
18 #define GW_AWEATHER  "/git/?p=proj/aweather"
19 #define GW_GRITS     "/git/?p=proj/grits"
20 #define GW_RSL       "/git/?p=~spenceal/rsl"
21
22 #define RSL_TAR      "rsl-v1.42.tar.gz"
23 #define RSL_WEB      "http://trmm-fc.gsfc.nasa.gov/trmm_gv/software/rsl/"
24 #define RSL_FTP      "ftp://trmm-fc.gsfc.nasa.gov/software/"
25
26 #define DEBIAN_HOME  "http://packages.debian.org/unstable/aweather"
27 #define UBUNTU_HOME  "http://packages.ubuntu.com/oneiric/science/aweather"
28
29 #define PREFIX       "http://lug.rose-hulman.edu/proj/aweather/"
30
31 /* Types */
32 typedef struct {
33         const char *link;
34         const char *name;
35         void (*print)(void);
36         float prio;
37         /* Optional */
38         const char *desc;
39 } page_t;
40
41 /* Data */
42 extern page_t header[];
43 extern page_t other[];
44 extern page_t footer[];
45 extern page_t special[];
46
47 /* Global functions */
48 void print_header(void);
49 void print_page(const page_t *which);
50
51 /* Pages */
52 void print_about(void);
53 void print_news(void);
54 void print_screenshots(void);
55 void print_download(void);
56 void print_development(void);
57 void print_grits(void);
58 void print_rsl(void);
59
60 void print_contact(void);
61 void print_legal(void);
62
63 void print_index(void);
64 void print_notfound(void);
65 void print_sitemap(const page_t **pages);