Specifically, QTKit and PDFKit (inside Quartz)--they're separate from the standard AppKit/Foundation frameworks. On second glance, it looks like the wrappers are very easy to generate, especially since I don't think there are any ObjC protocols to wrap.

The fact that I use QTKit and PDFKit brings up another issue--these are only available in Tiger and later, and I doubt you'd want to restrict Panther users from using LilyPond.app. At one point, I had LilyPad working so that those two frameworks were weak-linked, and the app used older classes (NSMovieView, NSImageView, etc.) when launched on a Panther system--the big drawback was that point-and- click didn't work, because NSImageView doesn't know anything about PDF links. Somewhere along the line I broke this and will try to get it fixed soon, certainly before trying to put anything into LilyPond.app.

--Ed

On Jul 26, 2005, at 3:19 PM, Han-Wen Nienhuys wrote:

Ed Baskerville wrote:

LilyPond.app has been my work, but I don't mind if someone else steps to continue improveming and developing it. However, I do oppose to Objective-C as development language. We already have too many languages (C++, Python, Scheme and bits of C)- and I see a maintenance problem with adding another one. The wrapper for LilyPond.app has been written in Python, which is fortunately pretty simple to learn and use.

That's certainly an understandable position. I don't know Python, but I have been meaning to learn. From an initial glance through the PyObjC documentation, I think it would probably be possible to re- implement LilyPad in Python, but it would take a fair amount of work, and would require writing Python wrappers for a couple of frameworks in addition to writing the application code itself.


Which frameworks? AFAIK the wrappers are generated automatically from the Objective libraries, so they should be already available.

--
 Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen




_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to