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