summaryrefslogtreecommitdiff
path: root/src/backend/db_sqlite.h
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2024-03-15 15:41:31 -0400
committerLouie S <louie@example.com>2024-03-15 15:41:31 -0400
commitd732bd0f74225828455c5863444b0211faf586d0 (patch)
tree4c605e694cc02521c9fddb05a710c62d66a97e55 /src/backend/db_sqlite.h
parent3e1d2e46ceea202120b4ff814fbd872bc6fc60f3 (diff)
Add backend for rules dialog
Diffstat (limited to 'src/backend/db_sqlite.h')
-rw-r--r--src/backend/db_sqlite.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/db_sqlite.h b/src/backend/db_sqlite.h
index ce2d900..93ae050 100644
--- a/src/backend/db_sqlite.h
+++ b/src/backend/db_sqlite.h
@@ -19,10 +19,10 @@ class BackendDB : QSqlDatabase {
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
+ int insertRule(const Rule &new_rule);
void updateGroup(const Group &group);
void updateEntry(const Entry &entry);
- void updateRule(int rule); // param datatype TBD
+ void updateRule(const Rule &rule);
int removeGroup(const Group &group);
int removeEntry(const Entry &entry);
int removeRule(const Rule &rule);