2bcf5f8cf0cab0650f31b77873d8785f08709fcc larrym Wed Jun 6 15:40:20 2012 -0700 start of new menu code diff --git src/hg/inc/web.h src/hg/inc/web.h index e236dfc..8aa8a7a 100644 --- src/hg/inc/web.h +++ src/hg/inc/web.h @@ -270,16 +270,19 @@ // If this is the first call, will // Return full path of timestamped link to the requested resource file (js, or css). Free after use. // else returns NULL. Useful to ensure multiple references to the same resource file are not made // NOTE: png, jpg and gif should also be supported but are untested. boolean webIncludeResourcePrintToFile(FILE * toFile, char *fileName); // Converts fileName to web Resource link and prints the html reference // This only prints and returns TRUE on first call for this resource. // Passing in NULL as the file pointer results in hPrintf call // The reference will be to a link with timestamp. #define webIncludeResourceFile(fileName) webIncludeResourcePrintToFile(NULL,fileName) void lazarusLives(unsigned long newExpireSeconds); /* Long running process requests more time */ +char *menuBar(struct cart *cart); +// return HTML for the menu bar (read from a configuration file). + #endif /* WEB_H */