projects
/
gnucomo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added database abstractions
[gnucomo.git]
/
src
/
include
/
object.h
diff --git
a/src/include/object.h
b/src/include/object.h
index
c5539d7
..
7373fe2
100644
(file)
--- a/
src/include/object.h
+++ b/
src/include/object.h
@@
-24,16
+24,9
@@
** MODIFICATIONS :
**************************************************************************/
** 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 hostname;
+ String id;
public:
public:
- Object(
const
gnucomo_database &);
- Object(
const
gnucomo_database &, String);
+ Object(gnucomo_database &);
+ Object(gnucomo_database &, String);
String Hostname(); // Return the database access string.
String Hostname(); // Return the database access string.
+
+ std::list<ObjectLog> select_logs(UTC, UTC, String);
};
};