Added new arguments to gnucomo_config::Database(): user and password.
[gnucomo.git] / src / include / gnucomo_config.h
index ade6ac3..68558f7 100644 (file)
@@ -8,7 +8,7 @@
 ***********************
 **      FILE NAME      : gnucomo.h
 **      SYSTEM NAME    : 
-**      VERSION NUMBER : $Revision: 1.2 $
+**      VERSION NUMBER : $Revision: 1.3 $
 **
 **  DESCRIPTION      :  
 **
 
 /*****************************
    $Log: gnucomo_config.h,v $
-   Revision 1.2  2002-11-09 08:04:27  arjen
+   Revision 1.3  2002-12-06 22:30:50  arjen
+   Added new arguments to gnucomo_config::Database(): user and password.
+   If empty, default values are taken from the config file.
+
+   Revision 1.2  2002/11/09 08:04:27  arjen
    Added a reference to the GPL
 
    Revision 1.1  2002/10/05 10:25:49  arjen
@@ -34,7 +38,7 @@
 
 *****************************/
 
-/* static const char *RCSID = "$Id: gnucomo_config.h,v 1.2 2002-11-09 08:04:27 arjen Exp $"; */
+/* static const char *RCSID = "$Id: gnucomo_config.h,v 1.3 2002-12-06 22:30:50 arjen Exp $"; */
 
 #include <AXE/configuration.h>
 
@@ -50,7 +54,7 @@
 //
 //  RELATIONS      :
 //  SEE ALSO       :
-//  LAST MODIFIED  :
+//  LAST MODIFIED  : Nov 21, 2002
 ///////////////////////////////////////////////////////////////////////////
 */
 
@@ -59,6 +63,6 @@ class gnucomo_config : public configuration
 
 public:
 
-   String   Database();  // Return the database access string.
+   String   Database(String usr="", String pw="");  // Return the database access string.
 };