I'm reading the docs for pica and see there should be a PluginMain in the code. However, when I look at the includes in the SDK, I see this PluginMain has been deprecated and replaced by PIChannelPort. I don't even see access to main() or anything that replaces it. Has it been completely replaced?
However, when I look in the examples shipped with the SDK like TextFormat.cpp I see...
DLLExport MACPASCAL void PluginMain (const int16 selector, Format RecordPtr...)
I'm trying to write a very simple plugin that brings up a non-modal window and can send/receive photoshop events like when a new layer is created. What's the best way to get started with this?