All Manuals > LispWorks Delivery User Guide > 6 Delivery on Mac OS X

NextPrevUpTopContentsIndex

6.6 File associations for a Macintosh application

To create an assocation between your LispWorks for Macintosh application and files with a specified type (file extension):

  1. Create the appropriate entries for the file type in the CFBundleDocumentTypes array within the Info.plist file of the delivered application.
  2. Define a subclass of capi:cocoa-default-application-interface with a message-callback .
  3. Implement the :open-file message in the message-callback function.
  4. Set the application interface on startup.

Also see the examples in

examples/delivery/macos/single-window-application.lisp and examples/delivery/macos/multiple-window-application.lisp .


LispWorks Delivery User Guide - 13 Dec 2011

NextPrevUpTopContentsIndex