Re: Displaying Plucker files from another application?
On Fri, Jan 30, 2004, Chris Hawks wrote: > When the user presses the 'Launcher' button (the Palm way to exit an > app), Plucker will exit instead of the System stopping it. That's a MUCH better suggestion than the exit button ;-) It could be added after the list of bugs have been fixed. /Mike ___ plucker-dev mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-dev
Re: Displaying Plucker files from another application?
---Reply to mail from Michael Nordstrom about Displaying Plucker files from another application? > On Tue, Jan 27, 2004, Chris Hawks wrote: > >> You could file a feature request and ask that an exit button be added. > > There shouldn't be an exit button; that's not the Zen of Palm. Then how about this simple change??? Add this patch: --- viewer.c.orig Sat Jan 17 17:39:47 2004 +++ viewer.cFri Jan 30 21:37:56 2004 @@ -443,6 +443,12 @@ DoAutoscrollToggle( AUTOSCROLL_OFF ); break; +case vchrLaunch: +DoAutoscrollToggle( AUTOSCROLL_OFF ); +SendAppStopEvent(); +handled = true; +break; + default: break; } When the user presses the 'Launcher' button (the Palm way to exit an app), Plucker will exit instead of the System stopping it. If it was called from another app, the system will return to the caller, otherwise the launcher will run. 5 lines of code, 40 bytes. ---End reply Christopher R. Hawks HAWKSoft - > Linux is not user-friendly. It _is_ user-friendly. It is not ignorant-friendly and idiot-friendly. -- Seen somewhere on the net. ___ plucker-dev mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-dev
Re: Displaying Plucker files from another application?
---Reply to mail from Gerda Shank about Displaying Plucker files from another application? > So it seems like the most attractive two options are > 1) support for sysAppLaunchOpenDB plus some kind of exit (TBD) > 2) stripped down reader Plucker already supports sysAppLaunchOpenDB (it's used by the launcher if you select a launchable Database). > I presume that 1) could be integrated into the Plucker codebase. Could > 2) be > integrated or would that be something that I would have to build, > maintain and > distribute myself? That affects the feasibility... How about a 'PlkrRdr' or 'PluckerLite'? Simply Plucker without the Library (form and other parts) and an Exit icon replacing the Library icon. A few well placed '#ifndef PLKR_LITE's should do it. ---End reply Christopher R. Hawks HAWKSoft - guru, n: A computer owner who can read the manual. ___ plucker-dev mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-dev
Re: Displaying Plucker files from another application?
David A. Desrosiers wrote: Here's a thought... what about adding a function code, in the document itself, that would force an exit of Plucker, when tapped? That would work for the documents which I'm providing. Part of the benefit of using Plucker documents would be to allow users to add documents (from various websites, etc) and it would be an added complication to have to modify the documents to include an exit. It feels like a non-elegant solution. So it seems like the most attractive two options are 1) support for sysAppLaunchOpenDB plus some kind of exit (TBD) 2) stripped down reader I presume that 1) could be integrated into the Plucker codebase. Could 2) be integrated or would that be something that I would have to build, maintain and distribute myself? That affects the feasibility... Gerda ___ plucker-dev mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-dev
Re: Displaying Plucker files from another application?
> Would that be packaged as a shared library or a separate application? If > my application is commercial, I can't just include Plucker source code, > can I? You would be writing a reader, from scratch, that can read the Plucker document format, based on the existing Plucker document API. If you took this route, you wouldn't be able to use code that already exists in Plucker to do it. You would have to create your reader from scratch, using the public API. If, however, you wanted to use Plucker's source code directly in the reader, that component would have to be covered by the GPL, as a derivitive work of Plucker itself. There is no reason why these can't be two separate applications: 1.) Your commercial application (non-free), and 2.) a small reader that can read Plucker documents (GPL). You can strip quite a lot of functionality out of Plucker to make a "slim" reader if you wish, to make this happen. If you wish to make having Plucker onboard, a requirement for your application, with the intent of sub-launching Plucker from within your commecial application, you'll have to make modifications to Plucker directly to support the "Exit" function, as we've been discussing. Here's a thought... what about adding a function code, in the document itself, that would force an exit of Plucker, when tapped? d. ___ plucker-dev mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-dev
Re: Displaying Plucker files from another application?
David A. Desrosiers wrote: I would prefer the equivalent of a "done" button on a document view. What I would like to do is to have a list of documents in my app - some of them Plucker documents, some of them other formats. Why not just create a little reader that can read Plucker documents, from within your application, and put whatever ornaments you wish on that UI interface? Would that be packaged as a shared library or a separate application? If my application is commercial, I can't just include Plucker source code, can I? Gerda ___ plucker-dev mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-dev
Re: Displaying Plucker files from another application?
> I would prefer the equivalent of a "done" button on a document view. > What I would like to do is to have a list of documents in my app - some of > them Plucker documents, some of them other formats. Why not just create a little reader that can read Plucker documents, from within your application, and put whatever ornaments you wish on that UI interface? d. ___ plucker-dev mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-dev
Re: Displaying Plucker files from another application?
David A. Desrosiers wrote: But there could be an exit button when Plucker is sublaunched with some code that requests it. Here's a thought... add a "Back" button to the Library view. I would prefer the equivalent of a "done" button on a document view. What I would like to do is to have a list of documents in my app - some of them Plucker documents, some of them other formats. When the user taps the name of a Plucker document it would display. When they are done reading the document they would return to my list with something like the "done" button in the memo and address apps. So my app would be managing the "library" part... To me, the sysAppLaunchCmdOpenDB launch code implies that the sublaunch is for a particular document. Gerda Shank ___ plucker-dev mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-dev
Re: Displaying Plucker files from another application?
> But there could be an exit button when Plucker is sublaunched with some > code that requests it. Here's a thought... add a "Back" button to the Library view. d. ___ plucker-dev mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-dev
Re: Displaying Plucker files from another application?
From: "Michael Nordstrom" <[EMAIL PROTECTED]> > On Tue, Jan 27, 2004, Chris Hawks wrote: > > > You could file a feature request and ask that an exit button be added. > > There shouldn't be an exit button; that's not the Zen of Palm. But there could be an exit button when Plucker is sublaunched with some code that requests it. Alex ___ plucker-dev mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-dev
Re: Displaying Plucker files from another application?
On Tue, Jan 27, 2004, Chris Hawks wrote: > You could file a feature request and ask that an exit button be added. There shouldn't be an exit button; that's not the Zen of Palm. /Mike ___ plucker-dev mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-dev
Re: Displaying Plucker files from another application?
---Reply to mail from Alexander R. Pruss about Displaying Plucker files from another application? > On Tue, 27 Jan 2004, Chris Hawks wrote: >> You could file a feature request and ask that an exit button be added. > > I don't know where it would be put. Perhaps the best option would be to > make a custom Plucker version. > > Or maybe yet another compile time option... It would be (slightly) more useful to me than the autoscroll. Maybe a compile time option (exit instead of autoscroll control) and a strTblAction so it can be bound to a key or gesture. ---End reply Christopher R. Hawks HAWKSoft - ___ plucker-dev mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-dev
Re: Displaying Plucker files from another application?
On Tue, 27 Jan 2004, Chris Hawks wrote: > You could file a feature request and ask that an exit button be added. I don't know where it would be put. Perhaps the best option would be to make a custom Plucker version. Or maybe yet another compile time option... Alex -- Dr. Alexander R. Pruss || e-mail: [EMAIL PROTECTED] Philosophy Department || online papers and home page: Georgetown University || www.georgetown.edu/faculty/ap85 Washington, DC 20057|| U.S.A. || - "Philosophiam discimus non ut tantum sciamus, sed ut boni efficiamur." - Paul of Worczyn (1424) ___ plucker-dev mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-dev
Re: Displaying Plucker files from another application?
---Reply to mail from Gerda Shank about Displaying Plucker files from another application? > I am interested in displaying Plucker files from an application that I > am writing. >>You could just launch Plucker from your app, perhaps? > I could launch Plucker, but it wouldn't return to my app after the file > was viewed. You could use "AppLaunchWithCommand('Plkr', sysAppLaunchCmdOpenDB, ptr to SysAppLaunchCmdOpenDBType with cardNo and dbID), but, as you say since Plucker has no exit button, your app is not returned to. If there was than it would be. You could file a feature request and ask that an exit button be added. ---End reply Christopher R. Hawks HAWKSoft - The obvious mathematical breakthrough [to break modern encryption] would be development of an easy way to factor large prime numbers. -- Bill Gates, The Road Ahead ___ plucker-dev mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-dev
Re: Displaying Plucker files from another application?
Alexander R. Pruss wrote: I am interested in displaying Plucker files from an application that I am writing. You could just launch Plucker from your app, perhaps? I could launch Plucker, but it wouldn't return to my app after the file was viewed. Gerda ___ plucker-dev mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-dev
Re: Displaying Plucker files from another application?
> I am interested in displaying Plucker files from an application that I > am writing. You could just launch Plucker from your app, perhaps? Alex ___ plucker-dev mailing list [EMAIL PROTECTED] http://lists.rubberchicken.org/mailman/listinfo/plucker-dev