Skip to main content
Inspiring
April 17, 2017
Answered

Where is PluginMain in the samples?

  • April 17, 2017
  • 1 reply
  • 492 views

I'm trying to learn the SDK by looking at the sample code. However, every sample plugin I've looked at so far doesn't have a PluginMain function and it looks like they are using another plugin structure by extending a "Plugin" class.  Yet I see no mention of this in the API or getting started docs.  Can someone help explain please?

This topic has been closed for replies.
Correct answer LeoTaro

Look in the samplecode/common/source folder. All the plugins include at least Plugin.cpp and Main.cpp. Main.cpp includes the PluginMain function.

1 reply

LeoTaroCorrect answer
Inspiring
April 18, 2017

Look in the samplecode/common/source folder. All the plugins include at least Plugin.cpp and Main.cpp. Main.cpp includes the PluginMain function.