#include "Counters.h"
#include "EmbeddedFiles.h"
-#include "support/FileName.h"
-
#include <boost/scoped_ptr.hpp>
namespace lyx {
class LaTeXFeatures;
class RenderMonitoredPreview;
+namespace support {
+class FileNameList;
+}
/// for including tex/lyx files
class InsetInclude : public InsetCommand {
* Return an empty vector if the child doc is not loaded.
* \param buffer the Buffer containing this inset.
*/
- std::vector<support::FileName> const &
+ support::FileNameList const &
getBibfilesCache(Buffer const & buffer) const;
///
EDITABLE editable() const { return IS_EDITABLE; }
mutable docstring listings_label_;
};
-
+/// return the child buffer if the file is a LyX doc and is loaded
+Buffer * getChildBuffer(Buffer const & buffer, InsetCommandParams const & params);
+
/// return loaded Buffer or zero if the file loading did not proceed.
Buffer * loadIfNeeded(Buffer const & parent, InsetCommandParams const & params);