Commit f37324f
committed
[mkcal] Rework ExtendedStorage to add an async implementation.
ExtendedStorage methods have been splitted between methods
dealing with a proxy (the calendar for incidences and the
notebook list) and methods working directly on the database.
The latter have been moved into a new DirectStorageInterface
class.
The previous SqliteStorage::Private class has been moved out
in separated sqlitestorage_p.{cpp,h} files. And a new
AsyncSqliteStorage class has been created using the new
SqliteStorageImpl from a worker thread. Exchange between
the worker thread and the main thread are done via
signals and are non blocking for all methods using a
proxy. For direct methods, the call are blocking.1 parent 7edcb18 commit f37324f
25 files changed
Lines changed: 5345 additions & 2942 deletions
File tree
- rpm
- src
- tests
- tools/mkcaltool
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
13 | 16 | | |
| 17 | + | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
17 | 24 | | |
18 | 25 | | |
19 | 26 | | |
| |||
0 commit comments