Quote:
Originally Posted by DiapDealer
I just don't see a lot of incentive for someone to spend time creating what—at best—would essentially be a "check here to maybe/sorta cleanup some extra files this plugin may have created ... or not" box.
|
I don't want to belabour the point - but in my imaginary pseudo C implementation, the question to the user would be raised by the PI not by the framework.
The framework would have
Code:
removePlugin(pluginSelected)
{
...
if (pluginSelected.removalCleanup != null)
pluginSelected.removalCleanup();
...
}
The plugin would have
Code:
removalCleanup()
{
...
if (askQuestion("Remove the dross?") == true)
{
remove myJsonFile();
remove myHelpFile();
...
}
...
}
But clearly it's not going to happen, so as my great grandfather would say... san fairy ann
BR