X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;ds=sidebyside;f=html.h;h=254695ccba74e5b2e7dd5bfd568275dd26c126d8;hb=61fb4b6e914bea7713f072876ee221d755a7d016;hp=6993664a1de045455b580f734051f33bc0e80b4b;hpb=c5486810f56749bdbd1c81a55d3bf4a7601f2217;p=~andy%2Faweather-web diff --git a/html.h b/html.h index 6993664..254695c 100644 --- a/html.h +++ b/html.h @@ -1,15 +1,42 @@ -#define VERSION "0.5" -#define VERSION_LINUX VERSION -#define VERSION_GENTOO "0.4.1" -#define VERSION_DEBIAN "0.4.2" -#define VERSION_WIN32 VERSION -#define VERSION_MACOS "0" +/* Version information */ +#define VERSION "0.5.2" +#define VERSION_WIN32 "0.5.1" + +#define VERSION_DESC "Version " VERSION " contains additional bug fixes and new desktop icons" + +/* Link info */ +#define WIKI_INDEX "/code/projects/aweather/wiki" +#define WIKI_INSTALL "/code/projects/aweather/wiki/Install" + +#define BUG_LIST "/code/projects/aweather/issues" +#define BUG_NEW "/code/projects/aweather/issues/new" + +#define GIT_AWEATHER "git://lug.rose-hulman.edu/proj/aweather" +#define GIT_GRITS "git://lug.rose-hulman.edu/proj/grits" +#define GIT_RSL "git://lug.rose-hulman.edu/~spenceal/rsl" + +#define GW_AWEATHER "/git/?p=proj/aweather" +#define GW_GRITS "/git/?p=proj/grits" +#define GW_RSL "/git/?p=~spenceal/rsl" + +#define RSL_TAR "rsl-v1.42.tar.gz" +#define RSL_WEB "http://trmm-fc.gsfc.nasa.gov/trmm_gv/software/rsl/" +#define RSL_FTP "ftp://trmm-fc.gsfc.nasa.gov/software/" + +#define DEBIAN_HOME "http://packages.debian.org/unstable/aweather" +#define UBUNTU_HOME "http://packages.ubuntu.com/oneiric/science/aweather" +#define ARCH_HOME "http://aur.archlinux.org/packages.php?ID=52003" + +#define PREFIX "http://lug.rose-hulman.edu/proj/aweather/" /* Types */ typedef struct { const char *link; const char *name; void (*print)(void); + float prio; + /* Optional */ + const char *desc; } page_t; /* Data */ @@ -25,6 +52,7 @@ void print_page(const page_t *which); /* Pages */ void print_about(void); void print_news(void); +void print_oldnews(void); void print_screenshots(void); void print_download(void); void print_development(void); @@ -36,3 +64,4 @@ void print_legal(void); void print_index(void); void print_notfound(void); +void print_sitemap(const page_t **pages);