PluginSDK.General: Difference between revisions

From Shareaza Wiki
Jump to navigation Jump to search
(Importing page from Tikiwiki)
 
m (1 revision)
 
(No difference)

Latest revision as of 20:11, 20 June 2009

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.