Alistair Riddoch
064340b1fc
Remove unneeded Entity.h include
2013-01-18 19:47:11 +00:00
Alistair Riddoch
4a9c7078f7
Refactor to use LocatedEntity as base class
...
All IG code should use the interface of LocatedEntity when dealing
with any entity, rather than sometimes requiring Entity. Add virtual
functions to the interface where required, and modify all other interfaces
to stop them using Entity. This makes the code way cleaner, and much better
de-coupled.
2013-01-17 10:17:07 +00:00
Alistair Riddoch
95b078249a
Rename database variable for disambiguation
2012-08-13 20:01:27 +01:00
Alistair Riddoch
68494ba520
Use the ruleset global less often, making code more isolated
2012-01-19 19:34:20 +00:00
Alistair Riddoch
5749d72d0e
Convert final Database methods
2011-09-29 12:15:43 +01:00
Alistair Riddoch
9f5fc30c5a
Convert rule clearing functions
2011-09-29 10:31:41 +01:00
Alistair Riddoch
2d987ba116
Concert Database::getTable and Persistence::getRules
2011-09-29 10:12:00 +01:00
Alistair Riddoch
bc2bf1e3c4
Add a destructor for Database
2011-09-28 23:15:46 +01:00
Alistair Riddoch
7aa394b2ca
Converty Database::initRule
2011-09-28 22:54:35 +01:00
Alistair Riddoch
5c4851b9c7
Switch first set of functions
...
All functions which return error/success should return int according
to the C library convention used in most of cyphesis
2011-09-28 22:32:39 +01:00
Alistair Riddoch
1c79a04701
Start cleaning up the Database API
2011-09-28 22:25:58 +01:00
Manohar Vanga
ba6fb4b9b7
Fixed small bug in Persistence::getAccount()
2010-08-17 11:56:10 +05:30
Alistair Riddoch
2b9eeaacca
Make username and password protected, and use accessors.
2009-11-24 13:13:54 +00:00
Alistair Riddoch
9364485967
Add a method to update a rule stored in the database.
2009-11-06 16:22:16 +00:00
Alistair Riddoch
6fea5787ce
Add code to storing rules to sort out the file the rules are from.
2009-11-05 22:54:59 +00:00
Alistair Riddoch
75ed7f672c
Add a function to load a new single rule into the database.
2009-11-05 17:38:18 +00:00
Alistair Riddoch
ffd019a744
Correct the spelling of persistence.
2009-03-24 03:08:45 +00:00