Added new arguments to gnucomo_config::Database(): user and password.
[gnucomo.git] / src / include / gnucomo_config.h
1
2 /**************************************************************************
3 **  (c) Copyright 2002, Andromeda Technology & Automation
4 ** This is free software; you can redistribute it and/or modify it under the
5 ** terms of the GNU General Public License, see the file COPYING.
6 ***************************************************************************
7 ** MODULE INFORMATION *
8 ***********************
9 **      FILE NAME      : gnucomo.h
10 **      SYSTEM NAME    : 
11 **      VERSION NUMBER : $Revision: 1.3 $
12 **
13 **  DESCRIPTION      :  
14 **
15 **  EXPORTED OBJECTS : 
16 **  LOCAL    OBJECTS : 
17 **  MODULES  USED    :
18 ***************************************************************************
19 **  ADMINISTRATIVE INFORMATION *
20 ********************************
21 **      ORIGINAL AUTHOR : Arjen Baart - arjen@andromeda.nl
22 **      CREATION DATE   : Jul 24, 2002
23 **      LAST UPDATE     : 
24 **      MODIFICATIONS   : 
25 **************************************************************************/
26
27 /*****************************
28    $Log: gnucomo_config.h,v $
29    Revision 1.3  2002-12-06 22:30:50  arjen
30    Added new arguments to gnucomo_config::Database(): user and password.
31    If empty, default values are taken from the config file.
32
33    Revision 1.2  2002/11/09 08:04:27  arjen
34    Added a reference to the GPL
35
36    Revision 1.1  2002/10/05 10:25:49  arjen
37    Creation of gcm_input and a first approach to a web interface
38
39 *****************************/
40
41 /* static const char *RCSID = "$Id: gnucomo_config.h,v 1.3 2002-12-06 22:30:50 arjen Exp $"; */
42
43 #include <AXE/configuration.h>
44
45 /*
46 ///////////////////////////////////////////////////////////////////////////
47 //  NAME           : gnucomo_config
48 //  BASECLASS      : configuration
49 //  MEMBERS        :
50 //  OPERATORS      :
51 //  METHODS        : Database - Obtain the database access string
52 //
53 //  DESCRIPTION    : 
54 //
55 //  RELATIONS      :
56 //  SEE ALSO       :
57 //  LAST MODIFIED  : Nov 21, 2002
58 ///////////////////////////////////////////////////////////////////////////
59 */
60
61 class gnucomo_config : public configuration
62 {
63
64 public:
65
66    String   Database(String usr="", String pw="");  // Return the database access string.
67 };
68