From 926ad3d183b0e2f6eef2345e6cffcd153d73e542 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 6 Mar 2008 21:55:33 +0000 Subject: [PATCH] Get rid of LayoutPtr.h. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23524 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/scons/scons_manifest.py | 1 - src/LayoutPtr.h | 25 ------------------------- src/Makefile.am | 1 - src/tex2lyx/tex2lyx.h | 2 ++ 4 files changed, 2 insertions(+), 27 deletions(-) delete mode 100644 src/LayoutPtr.h 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