c432455b9bdc07ca22b2093c49fe6dc40d12a42a hiram Fri Feb 25 11:21:13 2011 -0800 per Mark's advice, move html printout from hdb to hui diff --git src/hg/inc/hui.h src/hg/inc/hui.h index f7d7772..f626776 100644 --- src/hg/inc/hui.h +++ src/hg/inc/hui.h @@ -1,22 +1,23 @@ /* hui - human genome browser user interface controls that are shared * between more than one CGI. */ #ifndef HUI_H #define HUI_H #include "cart.h" #include "trackDb.h" +#include "customTrack.h" struct lineFile; void setUdcCacheDir(); /* set the path to the udc cache dir */ char *hDownloadsServer(); /* get the downloads server from hg.conf or the default */ char *hUserCookie(); /* Return our cookie name. */ char *wrapWhiteFont(char *s); /* Write white font around s */ #define HELP_DIR "/goldenPath/help" @@ -1183,16 +1184,23 @@ /* Returns the four state checked state of the subtrack */ void subtrackFourStateCheckedSet(struct trackDb *subtrack, struct cart *cart,boolean checked, boolean enabled); /* Sets the fourState Checked in the cart and updates cached state */ boolean hPrintPennantIcon(struct trackDb *tdb); // Returns TRUE and prints out the "pennantIcon" when found. Example: ENCODE tracks in hgTracks config list. boolean printPennantIconNote(struct trackDb *tdb); // Returns TRUE and prints out the "pennantIcon" and note when found. //This is used by hgTrackUi and hgc before printing out trackDb "html" void cfgByCfgType(eCfgType cType,char *db, struct cart *cart, struct trackDb *tdb,char *prefix, char *title, boolean boxed); // Methods for putting up type specific cfgs used by composites/subtracks in hui.c and exported for common use +void printUpdateTime(char *database, struct trackDb *tdb, + struct customTrack *ct); +/* display table update time, or in case of bbi file, file stat time */ + +void printBbiUpdateTime(time_t *timep); +/* for bbi files, print out the timep value */ + #endif /* HUI_H */