[ scummvm-Patches-2207782 ] ARCHIVE: New method 'getFile'

SourceForge.net noreply at sourceforge.net
Wed Oct 29 18:02:05 CET 2008


Patches item #2207782, was opened at 2008-10-29 18:02
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=2207782&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Johannes Schickel (lordhoto)
Assigned to: peres (peres001)
Summary: ARCHIVE: New method 'getFile'

Initial Comment:
Hi,

after talking with peres we both agreed, that a new method 'getFile', which unlike 'openFile' returns a ArchiveMember representation of a given file, might be a handy feature. This patch implements a 'getFile' for all Archives and changes Kyra to use it.

What I'm unsure about:
Peres suggested we could implement a default 'openFile' now via 'getFile', but then we would break GenericArchiveMember, since it requires a working Archive::openFile. So I don't really think it's a good idea.

// Johannes

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=2207782&group_id=37116




More information about the Scummvm-tracker mailing list