diff --git a/development/scons/scons_manifest.py b/development/scons/scons_manifest.py index 48a79b24c4..f8cfc65192 100644 --- a/development/scons/scons_manifest.py +++ b/development/scons/scons_manifest.py @@ -82,7 +82,6 @@ src_header_files = Split(''' Language.h Layout.h LayoutEnums.h - LayoutPtr.h Length.h Lexer.h LyX.h diff --git a/src/LayoutPtr.h b/src/LayoutPtr.h deleted file mode 100644 index 0743f75e13..0000000000 --- a/src/LayoutPtr.h +++ /dev/null @@ -1,25 +0,0 @@ -// -*- C++ -*- -/** - * \file LayoutPtr.h - * This file is part of LyX, the document processor. - * Licence details can be found in the file COPYING. - * - * \author Lars Gullik Bjønnes - * - * Full author contact details are available in file CREDITS. - */ - -#ifndef LAYOUTPTR_H -#define LAYOUTPTR_H - -namespace lyx { - -class Layout; - -/// Global typedef -typedef Layout const * LayoutPtr; - - -} // namespace lyx - -#endif diff --git a/src/Makefile.am b/src/Makefile.am index 005acf0209..36d8cdd478 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -224,7 +224,6 @@ HEADERFILESCORE = \ LaTeXFeatures.h \ LaTeX.h \ Layout.h \ - LayoutPtr.h \ LayoutEnums.h \ Length.h \ Lexer.h \ diff --git a/src/tex2lyx/tex2lyx.h b/src/tex2lyx/tex2lyx.h index 7c5ed348d9..2fbb4ec5b6 100644 --- a/src/tex2lyx/tex2lyx.h +++ b/src/tex2lyx/tex2lyx.h @@ -26,6 +26,8 @@ namespace lyx { namespace support { class FileName; } +typedef Layout const * LayoutPtr; + class Context; /// A trivial subclass, just to give us a public default constructor