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? == | ||
- | |||
- | |||
- | |||
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: | ||
- | virtual | + | virtual short perform(string a, string t); // OPTIONAL |
+ | virtual CURLcode download(string a, string t); | ||
+ | virtual string toProviderCode(string artist, string track) const; | ||
virtual bool parse(); | virtual bool parse(); | ||
+ | static const QString rooturl; | ||
- | + | TO BE CONTINUED | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + |
Learn more about Contributing to the wiki.