2010-06-15, 11:41 PM
Ommina Wrote:Hm. Am I required to inherit from NUtility.Base.SimpleButtonPlugin or NUtility.Base.NewStyleButtonListPlugin ?No, you're not requrired to use those base classes, but they are there to make things easier for you. You can instead implement a plugin that implements IScreenPlugin, and implement all the methods (like GetRenderList() etc).
Quote:I'm not seeing any other place with a .GetSkinHelper() -- IScreenPlugin doesn't have it.IScreenHelper is an interface that the application calls to interact with all plugins. The application never calls GetSkinHelper() on a plugin. This is just something the bases classes were doing internally within the plugin. You dont have to have an equivalent if you implement IScreenHelper. In fact, a plugin doesnt even need to use the skinhelper if it doesnt want to. If you were implementing a IScreenPlugin from scratch, I'd expect you probably would have a SkinHelper member variable, and would probably initialise it the first time the application calls Activate() on your plugin.