From: Jouke V. <jo...@pv...> - 2002-10-25 10:48:44
|
Hi Simon, Yeah sure, that's surely possible. In fact, I've already written my own FSHandler, although you have to inherit from Wx::PlFileSystemHandler instead of Wx::FileSystemHandler, but that's a minor detail. I just don't want to re-invent the wheel that's already present in wxWindows itself... Jouke Simon Flack wrote: >Hi Jouke > >I think you can impliment your own FileSystemHandler in Perl. > >It's as simple as writing a class that inherits from >Wx::FileSystemHandler, and then doing: Wx::FileSystem->AddHandler( new >MyFSHandler). It would be relatively easy to add a custom handler that >mimics wxMemoryFSHandler. > >I'm not saying you *should* do it that way, only that I think it's >possible. > >Simon > > >>-----Original Message----- >>From: Jouke Visser [mailto:jo...@pv...] >>Sent: 25 October 2002 11:28 >>To: wxp...@li... >>Subject: [wxperl-users] Feature requests >> >> >>Hi, >> >>Mattia, I have a few requests for wxWindows classes to wrap in wxPerl: >> >>1. Could you wrap Wx::Wave in wxPerl? It would provide a nice >>multi-platform .wav player. There is no Perl module on CPAN that can >>play .wav files on Windows *and* linux using the same interface yet. >> >>2. I was playing with Wx::EvtHandler and the Disconnect method only >>allowed me to use the second form, using the 'lastid' >>parameter. I have >>no clue what I should fill in there, and using the default -1 didn't >>work. I think the first form of Disconnect ($handler->Disconnect(id, >>eventtype)) would be much easier to use. Could you allow this? >> >>3. Is there a possibility to wrap Wx::AutomationObject in the windows >>version of wxPerl? That would allow me to discard Win32::OLE >>as an extra >>module to use in my programs. >> >>4. The same goes for Wx::DllLoader, which would prevent me from using >>Win32::API >> >>5. One very important feature request for me personally would >>be to wrap >>Wx::MemoryFSHandler. In the wxPerl 0.12 documentation you state that >>this class is not implemented, however from the demo.pl and >>from my own >>experience I know that Wx::ZipFSHandler and >>Wx::InternetFSHanderl *are* >>implemented. I presume the documentation is right and that the >>MemoryFSHandler is *not* currently implemented, which is something I >>can't see why. >> >>-- >> >> -------------------------------------------------------------------- >>| Jouke Visser | http://jouke.pvoice.org (personal) | >>| | http://www.pvoice.org (pVoice & pStory)| >>| Perl GUI Geek | http://wxperl.pvoice.org (wxPerl) | >> -------------------------------------------------------------------- >> >> >> >> >> >>------------------------------------------------------- >>This sf.net email is sponsored by: Influence the future >>of Java(TM) technology. Join the Java Community >>Process(SM) (JCP(SM)) program now. >>http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en >>_______________________________________________ >>wxperl-users mailing list >>wxp...@li... >>https://lists.sourceforge.net/lists/listinfo/wxperl-users >> > > >BBCi at http://www.bbc.co.uk/ > >This e-mail (and any attachments) is confidential and may contain >personal views which are not the views of the BBC unless specifically >stated. >If you have received it in error, please delete it from your system, do >not use, copy or disclose the information in any way nor act in >reliance on it and notify the sender immediately. Please note that the >BBC monitors e-mails sent or received. Further communication will >signify your consent to this. > -- -------------------------------------------------------------------- | Jouke Visser | http://jouke.pvoice.org (personal) | | | http://www.pvoice.org (pVoice & pStory)| | Perl GUI Geek | http://wxperl.pvoice.org (wxPerl) | -------------------------------------------------------------------- |