From: arjen Date: Fri, 2 Feb 2007 07:36:39 +0000 (+0000) Subject: Started an object oriented abstraction of Gnucomo X-Git-Tag: V_0_0_10~10 X-Git-Url: http://www.andromeda.nl/gitweb/?p=gnucomo.git;a=commitdiff_plain;h=4aa31c21a45fa261390543d22fc10d8b7c6754db Started an object oriented abstraction of Gnucomo --- diff --git a/src/include/object.h b/src/include/object.h new file mode 100644 index 0000000..c5539d7 --- /dev/null +++ b/src/include/object.h @@ -0,0 +1,66 @@ + +/************************************************************************** +** (c) Copyright 2005, Andromeda Technology & Automation +** This is free software; you can redistribute it and/or modify it under the +** terms of the GNU General Public License, see the file COPYING. +*************************************************************************** +** MODULE INFORMATION * +*********************** +** FILE NAME : object.h +** SYSTEM NAME : +** VERSION NUMBER : $Revision: 1.1 $ +** +** DESCRIPTION : +** +** EXPORTED OBJECTS : +** LOCAL OBJECTS : +** MODULES USED : +*************************************************************************** +** ADMINISTRATIVE INFORMATION * +******************************** +** ORIGINAL AUTHOR : Arjen Baart - arjen@andromeda.nl +** CREATION DATE : Jun 07, 2005 +** LAST UPDATE : +** MODIFICATIONS : +**************************************************************************/ + +/***************************** + $Log: object.h,v $ + Revision 1.1 2007-02-02 07:36:39 arjen + Started an object oriented abstraction of Gnucomo + +*****************************/ + +/* static const char *RCSID = "$Id: object.h,v 1.1 2007-02-02 07:36:39 arjen Exp $"; */ + +#include "database.h" + +/* +/////////////////////////////////////////////////////////////////////////// +// NAME : Object +// BASECLASS : database_entity +// MEMBERS : +// OPERATORS : +// METHODS : +// +// DESCRIPTION : +// +// RELATIONS : +// SEE ALSO : +// LAST MODIFIED : Jun 07, 2005 +/////////////////////////////////////////////////////////////////////////// +*/ + +class Object : public database_entity +{ + + String hostname; + +public: + + Object(const gnucomo_database &); + Object(const gnucomo_database &, String); + + String Hostname(); // Return the database access string. +}; +