Added database abstractions
[gnucomo.git] / src / include / object.h
index c5539d7..7373fe2 100644 (file)
 **      MODIFICATIONS   : 
 **************************************************************************/
 
-/*****************************
-   $Log: object.h,v $
-   Revision 1.1  2007-02-02 07:36:39  arjen
-   Started an object oriented abstraction of Gnucomo
+#include <date.h>
 
-*****************************/
-
-/* static const char *RCSID = "$Id: object.h,v 1.1 2007-02-02 07:36:39 arjen Exp $"; */
-
-#include "database.h"
+#include "objectlog.h"
 
 /*
 ///////////////////////////////////////////////////////////////////////////
@@ -55,12 +48,15 @@ class Object : public database_entity
 {
 
    String  hostname;
+   String  id;
 
 public:
 
-   Object(const gnucomo_database &);
-   Object(const gnucomo_database &, String);
+   Object(gnucomo_database &);
+   Object(gnucomo_database &, String);
 
    String   Hostname();  // Return the database access string.
+
+   std::list<ObjectLog> select_logs(UTC, UTC, String);
 };