I am building an application in Mac OS X which should bring up the password screen in Mac OS X once when a button on a QT WIndow is clicked. Which API I should use for this? Also, how will my application get notified whether system is locked or not?
Thanks in advance.
This sounds a lot like an
SFAuthorizationPluginView.Apple has an API for you to add your own authentication methods. Here is some sample code to get started.
http://developer.apple.com/mac/library/samplecode/NameAndPassword/Introduction/Intro.html