PluginSDK.General

From Shareaza Wiki
Revision as of 19:37, 31 December 2007 by Dirtycat (talk | contribs) (Importing page from Tikiwiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

General Plugins

General Plugins must, by definition, implement the "IGeneralPlugin" interface.

Funtions

~pp~void SetApplication(IApplication pApplication) ~/pp~ 

This function provides the plugin with a pointer to the IApplication inferface. Thus, pApplication should be stored in a variable for future reference.

Should return COM Exception with code 0.


~pp~void Configure() ~/pp~ 

This function is called when the "Setup" button in the Shareaza's Plugins window is pushed.

Should return COM Exception with code 0.


~pp~void QueryCapabilities(out uint pnCaps)~/pp~ 

Not currently used. pnCaps should not be changed.

Return COM Exception with code 0.


~pp~void OnSkinChanged()~/pp~ 

Called when skin is changed.

Return COM Exception with code 0.