Added database abstractions
[gnucomo.git] / src / include / objectlog.h
1
2 /**************************************************************************
3 **  (c) Copyright 2005, 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      : objectlog.h
10 **      SYSTEM NAME    : 
11 **      VERSION NUMBER : $Revision: 1.1 $
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   : Mar 05, 2021
23 **      LAST UPDATE     : 
24 **      MODIFICATIONS   : 
25 **************************************************************************/
26
27 #include "database.h"
28
29 /*
30 ///////////////////////////////////////////////////////////////////////////
31 //  NAME           : ObjectLog
32 //  BASECLASS      : database_entity
33 //  MEMBERS        :
34 //  OPERATORS      :
35 //  METHODS        : 
36 //
37 //  DESCRIPTION    : 
38 //
39 //  RELATIONS      :
40 //  SEE ALSO       :
41 //  LAST MODIFIED  : Mar 05, 2021
42 ///////////////////////////////////////////////////////////////////////////
43 */
44
45 class ObjectLog : public database_entity
46 {
47
48    long    id;
49
50 public:
51
52    ObjectLog(gnucomo_database &);
53    ObjectLog(database_entity *from, int row) : database_entity(from, row)
54    {
55    }
56
57    String raw()
58    {
59       return fields["rawdata"];
60    }
61
62 };
63