How to get the applicaiton name that loads bundle
How to get the applicaiton name that loads bundle
- Subject: How to get the applicaiton name that loads bundle
- From: "Chen, Jeff (SDCC)" <email@hidden>
- Date: Fri, 01 Jul 2011 14:25:21 +0800
- Acceptlanguage: ja-JP, en-US
- Thread-topic: How to get the applicaiton name that loads bundle
Dear All,
Now I'm developing the printer driver, and I want to realize the following specificaiton:
1, If the current applicaiton loading my PDE is "TextEdit" or "Preview", do actionA
2, If the current application loading my PDE is another application, do actionB.
But I don't know how to get the information of the application loading my PDE.
I checked the document about "NSBundle" and "PDEPluginCallback", but can't find any API about it.
Is there anyone who knows this?
Best Regards
Jeff Chen
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden