summaryrefslogtreecommitdiff
path: root/src/backend/db_sqlite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/db_sqlite.h')
-rw-r--r--src/backend/db_sqlite.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/db_sqlite.h b/src/backend/db_sqlite.h
index 1db61e8..ce2d900 100644
--- a/src/backend/db_sqlite.h
+++ b/src/backend/db_sqlite.h
@@ -16,6 +16,7 @@ class BackendDB : QSqlDatabase {
QList<Entry *> loadEntries();
QList<Entry *> loadEntries(int parent_id);
QList<Rule *> loadRules();
+ QList<Rule *> loadRules(int entry_id);
int insertGroup(const Group &new_group);
int insertEntry(const Entry &new_entry);
int insertRule(int new_rule); // param datatype TBD
@@ -24,7 +25,7 @@ class BackendDB : QSqlDatabase {
void updateRule(int rule); // param datatype TBD
int removeGroup(const Group &group);
int removeEntry(const Entry &entry);
- void removeRule(int rule); // param datatype TBD
+ int removeRule(const Rule &rule);
void cleanHidden();
private: