How to identify the host app is Carbon or Cocoa in a context menu plugin.
How to identify the host app is Carbon or Cocoa in a context menu plugin.
- Subject: How to identify the host app is Carbon or Cocoa in a context menu plugin.
- From: Satoshi Matsumoto <email@hidden>
- Date: Fri, 07 Jul 2006 10:35:19 +0900
- Thread-topic: How to identify the host app is Carbon or Cocoa in a context menu plugin.
Hi,
I am developing a contextual menu plugin that works both under Carbon and
Cocoa apps.
I need to know the host application is Carbon or Cocoa.
On PowerPC Mac, NSApp is always nil in Carbon apps. So I can easily identify
Carbon or Cocoa by checking NSApp value.
But on Intel Mac, NSApp has non zero value even in Carbon apps.
Does anybody know how to identify the host app is Carbon or Cocoa on Intel
Mac?
Satoshi
-----------------------------------------------------
Satoshi Matsumoto <email@hidden>
816-5 Odake, Odawara, Kanagawa, Japan 256-0802
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden