|
From: Simon F. <sim...@bb...> - 2002-10-25 10:44:30
|
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 >=20 >=20 > Hi, >=20 > Mattia, I have a few requests for wxWindows classes to wrap in wxPerl: >=20 > 1. Could you wrap Wx::Wave in wxPerl? It would provide a nice=20 > multi-platform .wav player. There is no Perl module on CPAN that can=20 > play .wav files on Windows *and* linux using the same interface yet. >=20 > 2. I was playing with Wx::EvtHandler and the Disconnect method only=20 > allowed me to use the second form, using the 'lastid'=20 > parameter. I have=20 > no clue what I should fill in there, and using the default -1 didn't=20 > work. I think the first form of Disconnect ($handler->Disconnect(id,=20 > eventtype)) would be much easier to use. Could you allow this? >=20 > 3. Is there a possibility to wrap Wx::AutomationObject in the windows=20 > version of wxPerl? That would allow me to discard Win32::OLE=20 > as an extra=20 > module to use in my programs. >=20 > 4. The same goes for Wx::DllLoader, which would prevent me from using=20 > Win32::API >=20 > 5. One very important feature request for me personally would=20 > be to wrap=20 > Wx::MemoryFSHandler. In the wxPerl 0.12 documentation you state that=20 > this class is not implemented, however from the demo.pl and=20 > from my own=20 > experience I know that Wx::ZipFSHandler and=20 > Wx::InternetFSHanderl *are*=20 > implemented. I presume the documentation is right and that the=20 > MemoryFSHandler is *not* currently implemented, which is something I=20 > can't see why. >=20 > --=20 >=20 > --------------------------------------------------------------------=20 > | Jouke Visser | http://jouke.pvoice.org (personal) | > | | http://www.pvoice.org (pVoice & pStory)| > | Perl GUI Geek | http://wxperl.pvoice.org (wxPerl) | > --------------------------------------------------------------------=20 >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future=20 > of Java(TM) technology. Join the Java Community=20 > Process(SM) (JCP(SM)) program now.=20 > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > _______________________________________________ > wxperl-users mailing list > wxp...@li... > https://lists.sourceforge.net/lists/listinfo/wxperl-users >=20 BBCi at http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain=20 personal views which are not the views of the BBC unless specifically=20 stated. If you have received it in error, please delete it from your system, do=20 not use, copy or disclose the information in any way nor act in=20 reliance on it and notify the sender immediately. Please note that the=20 BBC monitors e-mails sent or received. Further communication will=20 signify your consent to this. |
|
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) | -------------------------------------------------------------------- |