Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

GUI.H

00001 // GUI.h
00002 //
00003 // GeoEvents
00004 //
00005 // The Gui class is called either by Apache itself or by a "concierge."  When
00006 // called, the main function takes the user-specified information and outputs
00007 // the GUI in the form of html and javascript (and possibly XML) to standard
00008 // out. Apache will take the output and push it to the client web browser, 
00009 // where it will be loaded as the GeoEvents GUI.
00010 //
00011 // This file may not compile as it is currently unclear exactly what the
00012 // exact dependencies will be.
00013 
00014 #ifndef __GUI_H__
00015 #define __GUI_H__
00016 
00017 
00018 #include <time.h>
00019 
00020 
00021 class GUI {
00022   
00023 public:
00024   
00025   // This function takes the user-specified date, address, and search
00026   // information (category, region, etc) as arguments. When called,
00027   // the function will generate a query based on the arguments, query
00028   // the events database, and generate the code for the banner, map,
00029   // event list, and search options. All of this code is sent to
00030   // standard out in the form of html and javascript (and possibly
00031   // XML). The html will be HTML 4.01 and the javascript will be
00032   // dependent on the browser requirements (not currently specified)
00033   // but will likely be JavaScript 1.5 or a conformant standard.
00034   //int main(int argc, char** argv);
00035   
00036   void display(time_t from, time_t to, char **categories,
00037                char *street, char *city, char *state, char *zip);
00038 
00039   void display(time_t from, time_t to, char **categories,
00040                char *street, char *city, char *state, char *zip, int distance);
00041   
00042 };
00043 
00044 
00045 #endif // __GUI_H__

Generated on Wed May 17 22:28:20 2006 for GeoEvents by  doxygen 1.4.2