[Openmcl-devel] iSight code?
Ron Garret
ron at awun.net
Sun Jan 27 16:35:34 PST 2008
On Jan 27, 2008, at 4:20 PM, Ron Garret wrote:
> The problem I'm having right now is trying to figure out how to access
> classes that aren't loaded into the Cocoa app by default (like
> QCView). I've built and loaded the :quartz interface directory, but
> the analog of (make-instance 'ns:ns-view) still doesn't work. I'm
> digging through the sources to try to figure out how ns:ns-view gets
> set up to try to do something analogous for qc:qc-view.
Hm, I really would have expected this work, but it doesn't:
? (use-interface-dir :quartz)
#<INTERFACE-DIR :QUARTZ #P"quartz/" #x300041B793AD>
? (ccl::use-interface-dir :quartzcore)
#<INTERFACE-DIR :QUARTZCORE #P"quartzcore/" #x300041B832AD>
? (ccl::make-objc-instance "QCView")
> Error: ObjC class QCView not found
> While executing: CCL::LOOKUP-OBJC-CLASS, in process Listener(93).
> Type :POP to abort, :R for a list of available restarts.
> Type :? for other options.
1>
More information about the Openmcl-devel
mailing list