GNOME Bugzilla – Bug 162451
[PATCH] Database
Last modified: 2004-12-29 14:26:01 UTC
This is a patch against Muine 0.7.1. It replaces the new DatabaseUtils.cs with Database.cs which is a bit more OO. In the next couple days (when I get a chance), I'll probably move db.c stuff into this. 2004-12-29 Tamara Roberson <foxxygirltamara@gmail.com> * src/Makefile.am: * src/Database.cs: R src/DatabaseUtils.cs: Replaced DatabaseUtils with Database -- a more OO approach. * CoverDatabase.cs: * SongDatabase.cs: Renamed EncodeFunc to EncodeFunction. Renamed DecodeFunc to DecodeFunction. Removed 'user_data' parameter from DecodeFunction. * CoverDatabase.cs: * Song.cs: * SongDatabase.cs: Updated to reflect move to Database.
Created attachment 35270 [details] [review] Muine-0.7.1-Database.patch
Commited, thanks again! Did one minor change though- I thought the DecodeFunction handling was pretty ugly, so I put the DecodeFunction assignment next to the EncodeFunction assignment, and introduced a Database.Load function doing the foreach thing.