-// -*- C++ -*-
/**
* \file ControlInclude.C
* Copyright 2001 the LyX Team
#include "ButtonControllerBase.h"
#include "ControlInclude.h"
#include "buffer.h"
+#include "BufferView.h"
#include "Dialogs.h"
#include "LyXView.h"
+#include "lyxfunc.h"
#include "gettext.h"
#include "helper_funcs.h"
return browseFile(&lv_, in_name, title, pattern, dir1,
make_pair(string(), string()));
}
+
+
+void ControlInclude::load(string const & file)
+{
+ lv_.getLyXFunc()->dispatch(LFUN_CHILDOPEN, file);
+}