|
pianod2
multisource multiuser scriptable networked music player
|
Interface between the general pianod code and the individual sources, which may or may not be present in any particular build. More...
Functions | |
| const std::vector< std::string > & | sourceKindNames () |
| Get a list of source type names. More... | |
| bool | isSource (const std::string &name) |
| Check if a name is a source type name. More... | |
| void | registerCommands (PianodParser *parser) |
| Register source parser definitions with the master parser. More... | |
| void | registerInterpreters (PianodDispatcher &dispatcher) |
| void | addRequestNames (PianodSchema &schema) |
| void | restore (UserData::DataStore *source_data, User *owner) |
| Restore a source. More... | |
| void | report (int) |
| Report sources, libraries they use and their versions. More... | |
Interface between the general pianod code and the individual sources, which may or may not be present in any particular build.
| void Sources::addRequestNames | ( | PianodSchema & | schema | ) |


| bool Sources::isSource | ( | const std::string & | name | ) |
Check if a name is a source type name.
| name | The name to check. |


| void Sources::registerCommands | ( | PianodParser * | parser | ) |
Register source parser definitions with the master parser.
| parser | The master parser. |


| void Sources::registerInterpreters | ( | PianodDispatcher & | dispatcher | ) |


| void Sources::report | ( | int | ) |
Report sources, libraries they use and their versions.
The currently unused parameter represents a verbosity level.

| void Sources::restore | ( | UserData::DataStore * | source_data, |
| User * | owner | ||
| ) |
Restore a source.
| source_data | The parameters for the source. |
| owner | The user to whom the source belongs. |


| const std::vector< std::string > & Sources::sourceKindNames | ( | ) |
Get a list of source type names.
