After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 162451 - [PATCH] Database
[PATCH] Database
Status: RESOLVED FIXED
Product: muine
Classification: Other
Component: general
0.8.6 or older
Other Linux
: Normal enhancement
: ---
Assigned To: Muine Maintainers
Muine Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-12-29 11:55 UTC by Tamara Roberson
Modified: 2004-12-29 14:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Muine-0.7.1-Database.patch (20.29 KB, patch)
2004-12-29 11:56 UTC, Tamara Roberson
none Details | Review

Description Tamara Roberson 2004-12-29 11:55:48 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.
Comment 1 Tamara Roberson 2004-12-29 11:56:38 UTC
Created attachment 35270 [details] [review]
Muine-0.7.1-Database.patch
Comment 2 Jorn Baayen 2004-12-29 14:26:01 UTC
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.