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