12 #include "media/MediaLockState.h" 27 SOURCE_TYPE_UNKNOWN = 0,
28 SOURCE_TYPE_LOCAL = 1,
30 SOURCE_TYPE_VIRTUAL_DVD = 3,
31 SOURCE_TYPE_REMOTE = 4,
32 SOURCE_TYPE_VPATH = 5,
33 SOURCE_TYPE_REMOVABLE = 6
38 void FromNameAndPaths(
const std::string &category,
const std::string &name,
const std::vector<std::string> &paths);
39 bool IsWritable()
const;
83 int m_iHasLock = LOCK_STATE_NO_LOCK;
88 std::vector<std::string> vecPaths;
89 bool m_ignore =
false;
106 typedef std::vector<CMediaSource>::const_iterator CIVECSOURCES;
108 void AddOrReplace(VECSOURCES& sources,
const VECSOURCES& extras);
109 void AddOrReplace(VECSOURCES& sources,
const CMediaSource& source);
std::vector< CMediaSource >::iterator IVECSOURCES
Iterator of VECSOURCES.
Definition: MediaSource.h:105
std::vector< CMediaSource > VECSOURCES
A vector to hold CMediaSource objects.
Definition: MediaSource.h:98