From: mamutas <ma...@pr...> - 2003-10-12 04:50:16
|
I agree that second way is preferable. Also, what design pattern did you mention? I checked the graphics. I understand that you are going to implement explorer like interface using PAQExplorerManager to communicate to PAQSolidFile. That is all clear. I think the design looks good. Regards. -----Original Message----- From: xen...@li... [mailto:xen...@li...] On Behalf Of red...@pr... Sent: Thursday, October 09, 2003 3:16 PM To: xen...@li... Subject: Re: [Xenocide-programming] PAQ Explorer schemas Hi Exio, > About the directories implementation (remember that the archive was=20 > coded without directory support, but we need it to provide a simple > interface) >=20 > there are two ways: >=20 > 1) adding empty files to the disk archive with the name (and=20 > attribute) of the directory. Operation handled by the PAQSolidFile=20 > object >=20 > 2) building the directory tree by the file names everytime the archive = > is opened. Operation handled by the PAQExplorerManager object This is the better solution, because the intend of the PAQSolidFile is speed,=20 you are using an app, having to wait a little more offline, but pays off = in=20 the using of the PAQFile at the game enviroment. > According to the design patterns (one of the few I remember!!)=20 > handling directory maintenance is business of PAQExplorerManager,=20 > cause the PAQ archives were built without directory support from the=20 > start, for speed purposes. >=20 Exactly. > >What do you mean about it? >=20 > It was just a note on the elementary functions that the interface=20 > should provide. >=20 > I'm going to implement from the start the support for multiple=20 > selection (list of files). >=20 > For deleting a group of files (for example) it's easy to call=20 > PAQExplorerManager::deleteFile for each selected file inside a > for(;;) >=20 > Showing property of a group of files is something more complicated and = > needs a separated function (I don't want to a property window for each = > file... only one for all of them is better) >=20 >=20 > Have you any idea about how to use file flags? What flags???=20 > And what about the LiveUpdate? I have a guy that is going to do it for his bachelor degree thesis... :D = It is=20 already in the drawing board. > Last thing: I discovered now that VCL is available only for windows=20 > and that for multiplatform purposes I must use CLX... >=20 > If so, I have to prepare the interface using CLX instead of VCL right? There is no much difference between the CLX and the VCL, but yes you = should=20 use it for OS portability... The hadnt much time to think much about the graphics you made, but in a = fast check it look good. Keep up the good work Exio Greetings Red Knight ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. = SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED = US provide better services: Click here: = http://sourceforge.net/supporters.php _______________________________________________ Xenocide-programming mailing list = Xen...@li... https://lists.sourceforge.net/lists/listinfo/xenocide-programming --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.516 / Virus Database: 313 - Release Date: 2003/09/01 =20 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.516 / Virus Database: 313 - Release Date: 2003/09/01 =20 |