Loading...
Searching...
No Matches
score::OnlineExamples Class Reference
Reads, caches and refreshes the documentation site's manifest. More...
Inheritance diagram for score::OnlineExamples:
Detailed Description
Reads, caches and refreshes the documentation site's manifest.
Public Member Functions | |
| OnlineExamples (QObject *parent=nullptr) | |
| const std::vector< OnlineExample > & | examples () const noexcept |
| void | loadCache () |
| Synchronous, no network. | |
| void | refresh () |
| Emits updated() only if the manifest changed. | |
| void | install (const OnlineExample &ex, std::function< void(QString)> done) |
Calls done with the local path, or an empty string on failure. | |
| void | updated () |
Static Public Member Functions | |
| static QString | manifestUrl () |
| static QString | installRoot () |
| static QString | installFolder (const OnlineExample &ex) |
| static QString | localPath (const OnlineExample &ex) |
| Empty until the example has been installed. | |
The documentation for this class was generated from the following files:
- OnlineExamples.hpp
- OnlineExamples.cpp