////////////////////////////////////////////////////////// // main.cpp // // Main function for Web Address Manageron // // // // DESCRIPTION: A Bookmark Managment System for // // use with Netscape Navigator // // // // CALLS: WebAddressChecker() // // // // AUTHOR: Lucas Scharf // // // // Date: 3/20/1998 // // // // REVISIONS: None // // // // VERSION: 0.00 // ////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////// // Compilter Directives // ////////////////////////////////////////////////////////// #include //used for strcpy() #include "constants.h" //Used for StringLength #include "WebAddressManager.h" ////////////////////////////////////////////////////////// // Web Address Manager Main function // // // // CALLS: WebAddressManager // // // // Parameters: // // int argc: In - the number of command line arguments // // char *argv[] - array of strings contianingg the // // command line params // // // // REVISIONS: DATE, REASON // // AUTHOR FOR EACH (if different) // // VERSION: x.xx // ////////////////////////////////////////////////////////// void main(int argc, char *argv[]){ //-- Variable Declarations -- char CommandLineFileName[StringLength+1]; //file specified in the command line //-- Handle Command line args -- if (argc>1) strcpy(CommandLineFileName, argv[1]); else CommandLineFileName[0]=null; //--- Call Web Address Manager -- WebAddressManager(CommandLineFileName); }//end main