pianod2
multisource multiuser scriptable networked music player
Namespaces | Functions | Variables
sources.cpp File Reference

Functions that deal with all the possible sources. More...

#include <config.h>
#include <iostream>
#include <string>
#include <parsnip/parsnip.h>
#include <parsnip/parsnip_command.h>
#include "utility.h"
#include "interpreter.h"
#include "datastore.h"
#include "connection.h"
#include "users.h"
#include "sources.h"
Include dependency graph for sources.cpp:

Namespaces

 SourceName
 
 Sources
 Interface between the general pianod code and the individual sources, which may or may not be present in any particular build.
 

Functions

const std::vector< std::string > & Sources::sourceKindNames ()
 Get a list of source type names. More...
 
bool Sources::isSource (const std::string &name)
 Check if a name is a source type name. More...
 
void Sources::registerCommands (PianodParser *parser)
 Register source parser definitions with the master parser. More...
 
void Sources::registerInterpreters (PianodDispatcher &dispatcher)
 
void Sources::addRequestNames (PianodSchema &schema)
 
void Sources::restore (UserData::DataStore *source_data, User *owner)
 Restore a source. More...
 
void Sources::report (int)
 Report sources, libraries they use and their versions. More...
 

Variables

const char * SourceName::Manager = "manager"
 

Detailed Description

Functions that deal with all the possible sources.