Editing MaeLyrica/How to write plugins
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
== How to write a plugin for MaeLyrica? == | == How to write a plugin for MaeLyrica? == | ||
- | |||
- | |||
- | |||
=== Which data should be provided? === | === Which data should be provided? === | ||
A MaeLyrica plug-in is just a class containing these functions and variables: | A MaeLyrica plug-in is just a class containing these functions and variables: | ||
Line 14: | Line 11: | ||
=== Requirements for functions === | === Requirements for functions === | ||
- | + | ||
The toProviderCode function should return the URL as std::string, from which data should be downloaded. The default download function will follow any redirects. | The toProviderCode function should return the URL as std::string, from which data should be downloaded. The default download function will follow any redirects. | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- |
Learn more about Contributing to the wiki.