]> Pileus Git - ~andy/aweather-web/blob - html.h
Update package info
[~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 #define ARCH_HOME    "http://aur.archlinux.org/packages.php?ID=52003"
29
30 #define PREFIX       "http://lug.rose-hulman.edu/proj/aweather/"
31
32 /* Types */
33 typedef struct {
34         const char *link;
35         const char *name;
36         void (*print)(void);
37         float prio;
38         /* Optional */
39         const char *desc;
40 } page_t;
41
42 /* Data */
43 extern page_t header[];
44 extern page_t other[];
45 extern page_t footer[];
46 extern page_t special[];
47
48 /* Global functions */
49 void print_header(void);
50 void print_page(const page_t *which);
51
52 /* Pages */
53 void print_about(void);
54 void print_news(void);
55 void print_screenshots(void);
56 void print_download(void);
57 void print_development(void);
58 void print_grits(void);
59 void print_rsl(void);
60
61 void print_contact(void);
62 void print_legal(void);
63
64 void print_index(void);
65 void print_notfound(void);
66 void print_sitemap(const page_t **pages);