]> Pileus Git - ~andy/aweather-web/blob - html.h
Fix typo
[~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 DEBIAN_HOME   "http://packages.debian.org/unstable/aweather"
34 #define UBUNTU_HOME   "http://packages.ubuntu.com/oneiric/science/aweather"
35 #define UBUNTU_PPA    "https://launchpad.net/~andy753421/+archive/aweather"
36 #define ARCH_HOME     "http://aur.archlinux.org/packages.php?ID=52003"
37
38 #define PREFIX        "http://lug.rose-hulman.edu/proj/aweather/"
39
40 /* Types */
41 typedef struct {
42         const char *link;
43         const char *name;
44         void (*print)(void);
45         float prio;
46         /* Optional */
47         const char *desc;
48 } page_t;
49
50 /* Data */
51 extern page_t header[];
52 extern page_t other[];
53 extern page_t footer[];
54 extern page_t special[];
55
56 /* Global functions */
57 void print_file(char *file);
58 void print_header(void);
59 void print_page(const page_t *which);
60
61 /* Pages */
62 void print_about(void);
63 void print_manual(void);
64 void print_news(void);
65 void print_oldnews(void);
66 void print_screenshots(void);
67 void print_download(void);
68 void print_development(void);
69 void print_grits(void);
70 void print_rsl(void);
71
72 void print_contact(void);
73 void print_legal(void);
74
75 void print_index(void);
76 void print_notfound(void);
77 void print_sitemap(const page_t **pages);