-
-
Notifications
You must be signed in to change notification settings - Fork 784
Add package for addons to store plugin independent code #14359
Copy link
Copy link
Open
Labels
Addon/APIChanges to NVDA's API for addons to support addon development.Changes to NVDA's API for addons to support addon development.audience/nvda-devPR or issue is relevant to NVDA / Add-on developersPR or issue is relevant to NVDA / Add-on developersp5https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priorityhttps://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#prioritytriagedHas been triaged, issue is waiting for implementation.Has been triaged, issue is waiting for implementation.
Metadata
Metadata
Assignees
Labels
Addon/APIChanges to NVDA's API for addons to support addon development.Changes to NVDA's API for addons to support addon development.audience/nvda-devPR or issue is relevant to NVDA / Add-on developersPR or issue is relevant to NVDA / Add-on developersp5https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priorityhttps://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#prioritytriagedHas been triaged, issue is waiting for implementation.Has been triaged, issue is waiting for implementation.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Is your feature request related to a problem? Please describe.
An addon can contain appModules, brailleDisplayDrivers, synthDrivers, globalPlugins and visionEnhancementProviders. However, there is no way for addons to store code that has to be shared between packages. Imagine a case where a constant has to be defined that has to be available in both an appModule and a globalPlugin. I'm pretty sure @josephsl might know of other cases like this.
In my case, I want to store a base class subclassing driverHandler.Driver that will be a base of both a synthDriver and brailleDisplayDriver.
Describe the solution you'd like
I'd like to suggest the possibility for addons to provide code for the following NVDA packages:
Cc @josephsl and other addon contributors