Commit Graph

6 Commits

Author SHA1 Message Date
codestation
bd80842dd5 Fix bug when transferring PSP savedatas. 2014-05-04 11:16:36 -04:30
codestation
99d216d474 Enable SQLiteDB backend.
Multiple fixed and finished the implementation of the SQLite backend.
Try to load the database before trying to attempt a rescan.
Delete the metadala list for backends that allocate them on demand.
Moved some generic functions to the databse class.
Renamed utils header to avoid rare QtCreator bug.
2014-02-05 23:30:12 -04:30
codestation
f722c4579b Pass database object to others using their constructors.
Prepare SQLiteDB class functions so it can be instantiated.
2014-01-29 01:06:19 -04:30
codestation
a021c5db8f Modify removeRecursively to be able to delete a file.
Added getParentId func.
Add the datatype for newly inserted items.
Pass a double pointer instead of a pointer reference so the metadata_t can be optional.
Make sure to delete the files after deleting an entry in the backup manager.
2014-01-28 18:05:43 -04:30
codestation
b7ad2b13f4 Create a unified base class to access the database.
Moved the default database class to QListDB and disallow leaking CMAObjects outside this class.
Rewrote QListDB and CMAEvent to use the new internal API.
Moved the file format constants to the base database class.
Moved the metadata loading methods to the base database class.
2014-01-28 14:00:15 -04:30
codestation
e1aa32894d Renamed database class to qlistdb in preparation to create generic database class. 2014-01-24 13:08:35 -04:30