• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: interfacing c++ and cocoa/aqua
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: interfacing c++ and cocoa/aqua


  • Subject: Re: interfacing c++ and cocoa/aqua
  • From: Art Isbell <email@hidden>
  • Date: Fri, 6 Jul 2001 14:08:11 -1000

On Friday, July 6, 2001, at 10:32 AM, Nathaniel Martin wrote:

We have a c++ backend and we want to put an aqua front end on it.

The c++ needs to be passed mouse and keyboard events, and it would return bitmaps.

We want to display the bitmaps to screen as quickly as possible.

What would be the best way to interface this? Can I call cocoa methods from c++? Can I call c++ functions from cocoa?

You might want to wait for the ObjC++ functionality to be added back to Cocoa (it was promised at the WWDC, I believe). That will allow you to mix Objective-C and C++ in the same source. You'd want to write ObjC++ Controller classes that would convert events from Objective-C View objects to a form needed by your C++ Model objects and that would receive a bitmaps from C++ Model objects and send them to Objective-C View objects to display.

Art Isbell
Apple iServices Technical Support
http://www.apple.com/iservices/webobjectssupport/
+1-808-591-0836


References: 
 >interfacing c++ and cocoa/aqua (From: Nathaniel Martin <email@hidden>)

  • Prev by Date: Re: Several questions
  • Next by Date: Re: XP / freeze-drying sessions in OS X
  • Previous by thread: interfacing c++ and cocoa/aqua
  • Next by thread: Please disregard. (test)
  • Index(es):
    • Date
    • Thread