, _file_is_new (!origin.empty()) // if origin is left unspecified (empty string) then file must exist
, _channel (0)
, _origin (origin)
- , _open (false)
{
set_within_session_from_path (path);
}
FileSource::FileSource (Session& session, const XMLNode& node, bool /*must_exist*/)
: Source (session, node)
, _file_is_new (false)
+ , _channel (0)
{
/* this setting of _path is temporary - we expect derived classes
to call ::init() which will actually locate the file