#include "ColorCode.h"
#include "InsetCode.h"
-#include "Layout.h"
+#include "LayoutEnums.h"
#include "OutputEnums.h"
#include "support/strfwd.h"
#ifndef INSETLISTINGSPARAMS_H
#define INSETLISTINGSPARAMS_H
-#include <map>
-#include <exception>
#include "InsetCollapsable.h"
+#include <map>
+
namespace lyx {
class InsetListingsParams {
#include "LyXRC.h"\r
#include "MetricsInfo.h"\r
#include "OutputParams.h"\r
+#include "RenderPreview.h"\r
\r
#include "frontends/Painter.h"\r
\r
#include "InsetText.h"\r
\r
#include "Dimension.h"\r
-#include "RenderPreview.h"\r
-\r
-#include "graphics/PreviewLoader.h"\r
\r
#include <boost/scoped_ptr.hpp>\r
\r
namespace lyx {\r
\r
+class RenderPreview;\r
+\r
+namespace graphics {\r
+ class PreviewLoader;\r
+}\r
+\r
/// An inset with an instant preview\r
class InsetPreview : public InsetText {\r
\r
#include "Inset.h"
#include "InsetText.h"
-#include "Layout.h"
#include "Length.h"
#include "support/shared_ptr.h"