[Kde-games-devel] Create file archives with Qt/kdelibs

Stefan Majewsky majewsky at gmx.net
Fri May 16 15:28:33 CEST 2008


Am Donnerstag 15 Mai 2008 21:53:01 schrieb Stefan Majewsky:
> I propose yet another (mid-term) solution: a management class for the
> described kind of game data storages in libkdegames.

In the mean time, I have started a concept which I would use at least in 
Palapeli. It consists of a Palapeli::GameStorage which essentially consists 
of a list of all items in the storage and a list of dependencies between such 
items. For example, a saved game depends on an image. Using these 
dependencies, one can, for instance, query items depending on another item. 
Also, items automatically get deleted when the last reference is deleted. 
(For example, an image will automatically be deleted when the last saved game 
using this image is deleted.) Querying of items is done using attributes (for 
example type or dependency to a specific item). Import and export of a bunch 
of items in this storage will be implemented in the storage.

Now my questions:
1. Is there already something that fulfils my needs? There is Akonadi, but I 
fear too much overhead for no real benefit (= less SLOC or faster execution).
2. If not, is there interest to include this class in libkdegames? I can send 
my interface draft if anyone is interested.

Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-games-devel/attachments/20080516/71bc6ddc/attachment.pgp 


More information about the kde-games-devel mailing list