dont use pragma impementation and interface anymore

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6138 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2003-02-13 16:53:15 +00:00
parent d40723f049
commit 99d1627a47
894 changed files with 95 additions and 2967 deletions

View File

@ -1,3 +1,8 @@
2003-02-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
* most source files all over: remove the use of #pragma
implementaion and interface.
2003-02-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* autogen.sh (autoversion): autoconf 2.57 works too

View File

@ -5,7 +5,6 @@ src/bufferview_funcs.C
src/BufferView_pimpl.C
src/Chktex.C
src/converter.C
src/CutAndPaste.bak.C
src/CutAndPaste.C
src/debug.C
src/exporter.C
@ -38,6 +37,7 @@ src/frontends/qt2/QAbout.C
src/frontends/qt2/QBibitem.C
src/frontends/qt2/QBibtex.C
src/frontends/qt2/QBibtexDialog.C
src/frontends/qt2/QChanges.C
src/frontends/qt2/QCharacter.C
src/frontends/qt2/QCitation.C
src/frontends/qt2/QCitationDialog.C
@ -60,6 +60,8 @@ src/frontends/qt2/QMathDialog.C
src/frontends/qt2/QMathMatrixDialog.C
src/frontends/qt2/QMinipage.C
src/frontends/qt2/QParagraph.C
src/frontends/qt2/QPreamble.C
src/frontends/qt2/QPreambleDialog.C
src/frontends/qt2/QPrefs.C
src/frontends/qt2/QPrefsDialog.C
src/frontends/qt2/QPrint.C
@ -181,4 +183,3 @@ src/tabular.C
src/text2.C
src/text3.C
src/text.C
src/ext_l10n.h

View File

@ -9,10 +9,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "BufferView.h"
#include "BufferView_pimpl.h"

View File

@ -10,10 +10,6 @@
#ifndef BUFFER_VIEW_H
#define BUFFER_VIEW_H
#ifdef __GNUG__
#pragma interface
#endif
#include "LString.h"
#include "undo.h"

View File

@ -8,10 +8,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "BufferView_pimpl.h"
#include "frontends/WorkArea.h"
#include "frontends/screen.h"

View File

@ -19,9 +19,6 @@
#include <boost/scoped_ptr.hpp>
#include <boost/signals/trackable.hpp>
#ifdef __GNUG__
#pragma interface
#endif
class Change;
class LyXView;

View File

@ -14,10 +14,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "Bullet.h"
#include "support/LAssert.h"

View File

@ -15,10 +15,6 @@
#ifndef BULLET_H
#define BULLET_H
#ifdef __GNUG__
#pragma interface
#endif
#include "LString.h"
///

View File

@ -13,10 +13,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "Chktex.h"
#include "LaTeX.h" // TeXErrors
#include "lyxlex.h"

View File

@ -16,10 +16,6 @@
#ifndef CHKTEX_H
#define CHKTEX_H
#ifdef __GNUG__
#pragma interface
#endif
#include "LString.h"
class LyXLex;

View File

@ -9,10 +9,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "CutAndPaste.h"
#include "BufferView.h"
#include "buffer.h"

View File

@ -11,10 +11,6 @@
#ifndef CUTANDPASTE_H
#define CUTANDPASTE_H
#ifdef __GNUG__
#pragma interface
#endif
#include "support/types.h"
class Paragraph;

View File

@ -14,10 +14,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "DepTable.h"
#include "debug.h"

View File

@ -19,10 +19,6 @@
#include "LString.h"
#include <map>
#ifdef __GNUG__
#pragma interface
#endif
///
class DepTable {
public:

View File

@ -1,9 +1,5 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "FloatList.h"
#include "gettext.h"

View File

@ -12,10 +12,6 @@
#ifndef FLOATLIST_H
#define FLOATLIST_H
#ifdef __GNUG__
#pragma interface
#endif
#include <map>
#include "LString.h"

View File

@ -10,10 +10,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "Floating.h"

View File

@ -12,10 +12,6 @@
#ifndef FLOATING_H
#define FLOATING_H
#ifdef __GNUG__
#pragma interface
#endif
#include "LString.h"
/** This is a "float layout" object. It contains the parameters for how to

View File

@ -9,10 +9,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "FuncStatus.h"
FuncStatus::FuncStatus() : v_(OK)

View File

@ -9,10 +9,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "debug.h"
#include "LColor.h"
#include "support/LAssert.h"

View File

@ -11,10 +11,6 @@
#ifndef LCOLOR_H
#define LCOLOR_H
#ifdef __GNUG__
#pragma interface
#endif
#include <map>
#include "LString.h"

View File

@ -13,10 +13,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "LaTeX.h"
#include "bufferlist.h"
#include "gettext.h"

View File

@ -15,10 +15,6 @@
#ifndef LATEX_H
#define LATEX_H
#ifdef __GNUG__
#pragma interface
#endif
#include "LString.h"
#include "DepTable.h"
#include <vector>

View File

@ -10,10 +10,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "LaTeXFeatures.h"
#include "debug.h"
#include "lyx_sty.h"

View File

@ -12,11 +12,6 @@
#ifndef LATEXFEATURES_H
#define LATEXFEATURES_H
#ifdef __GNUG__
#pragma interface
#endif
#include "support/types.h"
#include "LString.h"

View File

@ -6,10 +6,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "LyXAction.h"
#include "debug.h"

View File

@ -8,10 +8,6 @@
#ifndef LYXACTION_H
#define LYXACTION_H
#ifdef __GNUG__
#pragma interface
#endif
#include <map>
#include "funcrequest.h"

View File

@ -11,10 +11,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include <algorithm>
#include "MenuBackend.h"
#include "lyxlex.h"

View File

@ -14,14 +14,12 @@
#ifndef MENUBACKEND_H
#define MENUBACKEND_H
#ifdef __GNUG__
#pragma interface
#endif
#include "LString.h"
#include <vector>
#include <boost/shared_ptr.hpp>
#include <vector>
class LyXLex;
class Buffer;
class Menu;

View File

@ -1,10 +1,5 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#pragma implementation "ParameterStruct.h"
#endif
#include "ParagraphParameters.h"
#include "ParameterStruct.h"

View File

@ -3,10 +3,6 @@
#ifndef PARAGRAPHPARAMETERS_H
#define PARAGRAPHPARAMETERS_H
#ifdef __GNUG__
#pragma interface
#endif
#include "LString.h"
#include "ShareContainer.h"
#include "layout.h"

View File

@ -8,10 +8,6 @@
#include "layout.h"
#include "lyxlength.h"
#ifdef __GNUG__
#pragma interface
#endif
///
struct ParameterStruct {
///

View File

@ -1,9 +1,5 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "Sectioning.h"
string const & Section::name() const

View File

@ -3,10 +3,6 @@
#ifndef SECTIONING_H
#define SECTIONING_H
#ifdef __GNUG__
#pragma interface
#endif
#include <map>
#include "LString.h"

View File

@ -10,10 +10,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "Lsstream.h"
#include "Spacing.h"
#include "LString.h"

View File

@ -12,10 +12,6 @@
#ifndef SPACING_H
#define SPACING_H
#ifdef __GNUG__
#pragma interface
#endif
#include <iosfwd>
#include "LString.h"

View File

@ -12,10 +12,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "TextCache.h"
#include "buffer.h"
#include "bufferlist.h"

View File

@ -14,10 +14,6 @@
#ifndef TEXT_CACHE_H
#define TEXT_CACHE_H
#ifdef __GNUG__
#pragma interface
#endif
#include "LString.h"
#include "lyxtext.h"
#include "buffer.h"

View File

@ -9,10 +9,6 @@
*
* ====================================================== */
#ifdef __GNUG__
#pragma implementation
#endif
#include <config.h>
#include "ToolbarDefaults.h"

View File

@ -14,10 +14,6 @@
#ifndef TOOLBARDEFAULTS_H
#define TOOLBARDEFAULTS_H
#ifdef __GNUG__
#pragma interface
#endif
#include <vector>
#include "LString.h"

View File

@ -10,10 +10,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation "Variables.h"
#endif
#include "Variables.h"
#include "support/LRegex.h"

View File

@ -12,10 +12,6 @@
#ifndef VARIABLES_H
#define VARIABLES_H
#ifdef __GNUG__
#pragma interface
#endif
#include "LString.h"
#include <map>

View File

@ -14,10 +14,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "buffer.h"
#include "bufferlist.h"
#include "LyXAction.h"

View File

@ -13,10 +13,6 @@
#ifndef BUFFER_H
#define BUFFER_H
#ifdef __GNUG__
#pragma interface
#endif
#include "LString.h"
#include "undo.h"
#include "support/limited_stack.h"

View File

@ -14,10 +14,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "bufferlist.h"
#include "lyx_main.h"
#include "lastfiles.h"

View File

@ -9,10 +9,6 @@
#ifndef BUFFER_LIST_H
#define BUFFER_LIST_H
#ifdef __GNUG__
#pragma interface
#endif
#include "LString.h"
#include <boost/utility.hpp>

View File

@ -10,10 +10,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "bufferparams.h"
#include "tex-strings.h"
#include "layout.h"

View File

@ -12,10 +12,6 @@
#ifndef BUFFERPARAMS_H
#define BUFFERPARAMS_H
#ifdef __GNUG__
#pragma interface
#endif
#include "LString.h"
#include "vspace.h"
#include "Spacing.h"

View File

@ -10,10 +10,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "bufferview_funcs.h"
#include "frontends/LyXView.h"
#include "BufferView.h"

View File

@ -12,10 +12,6 @@
#ifndef BUFFERVIEW_FUNCS_H
#define BUFFERVIEW_FUNCS_H
#ifdef __GNUG__
#pragma interface
#endif
#include "LString.h"
class BufferView;

View File

@ -1,9 +1,5 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "chset.h"
#include "support/filetools.h"
#include "support/lyxlib.h"

View File

@ -8,10 +8,6 @@
#ifndef CHSET_H
#define CHSET_H
#ifdef __GNUG__
#pragma interface
#endif
#include <map>
#include <utility>

View File

@ -10,10 +10,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "converter.h"
#include "lyxrc.h"
#include "buffer.h"

View File

@ -12,10 +12,6 @@
#ifndef CONVERTER_H
#define CONVERTER_H
#ifdef __GNUG__
#pragma interface
#endif
#include <vector>
#include <queue>
#include "LString.h"

View File

@ -9,10 +9,6 @@
*
* ====================================================== */
#ifdef __GNUG__
#pragma implementation
#endif
#include <config.h>
#include "counters.h"

View File

@ -14,10 +14,6 @@
#ifndef COUNTERS_H
#define COUNTERS_H
#ifdef __GNUG__
#pragma interface
#endif
#include "LString.h"
#include <map>

View File

@ -7,10 +7,6 @@
*
* ====================================================== */
#ifdef __GNUG__
#pragma implementation
#endif
#include <config.h>
#include "debug.h"

View File

@ -12,10 +12,6 @@
#ifndef LYXDEBUG_H
#define LYXDEBUG_H
#ifdef __GNUG__
#pragma interface
#endif
#include <iosfwd>
#include "LString.h"

View File

@ -10,10 +10,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "encoding.h"
#include "lyxlex.h"
#include "debug.h"

View File

@ -12,10 +12,6 @@
#ifndef ENCODING_H
#define ENCODING_H
#ifdef __GNUG__
#pragma interface
#endif
#include "LString.h"
#include "lyxrc.h"

View File

@ -10,10 +10,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include <algorithm>
#include "exporter.h"

View File

@ -12,10 +12,6 @@
#ifndef EXPORTER_H
#define EXPORTER_H
#ifdef __GNUG__
#pragma interface
#endif
#include <vector>
#include "LString.h"

View File

@ -11,9 +11,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "Dialogs.h"

View File

@ -11,9 +11,6 @@
#ifndef DIALOGS_H
#define DIALOGS_H
#ifdef __GNUG__
#pragma interface
#endif
#include "LString.h"

View File

@ -13,9 +13,6 @@
#ifndef FILEDIALOG_H
#define FILEDIALOG_H
#ifdef __GNUG__
#pragma interface
#endif
#include <utility>

View File

@ -11,9 +11,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "LyXView.h"
#include "debug.h"

View File

@ -13,9 +13,6 @@
#ifndef LYXVIEW_H
#define LYXVIEW_H
#ifdef __GNUG__
#pragma interface
#endif
#include "LString.h"

View File

@ -10,9 +10,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "Menubar.h"
#include "MenuBackend.h"

View File

@ -12,9 +12,6 @@
#ifndef MENUBAR_H
#define MENUBAR_H
#ifdef __GNUG__
#pragma interface
#endif
#include "LString.h"

View File

@ -11,9 +11,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "Painter.h"
#include "lyxfont.h"

View File

@ -13,9 +13,6 @@
#ifndef PAINTER_H
#define PAINTER_H
#ifdef __GNUG__
#pragma interface
#endif
#include "LString.h"
#include "LColor.h"

View File

@ -8,9 +8,6 @@
*
* Full author contact details are available in file CREDITS
*/
#ifdef __GNUG__
#pragma implementation
#endif
#include <config.h>

View File

@ -13,9 +13,6 @@
#ifndef TIMEOUT_H
#define TIMEOUT_H
#ifdef __GNUG__
#pragma interface
#endif
#include <boost/signals/signal0.hpp>

View File

@ -10,9 +10,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation "Toolbar.h"
#endif
#include "Toolbar.h"
#include "ToolbarDefaults.h"

View File

@ -12,9 +12,6 @@
#ifndef TOOLBAR_H
#define TOOLBAR_H
#ifdef __GNUG__
#pragma interface
#endif
#include "LString.h"

View File

@ -10,8 +10,5 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "WorkArea.h"

View File

@ -8,9 +8,6 @@
* Full author contact details are available in file CREDITS
*/
#ifdef __GNUG__
#pragma implementation
#endif
#include <config.h>
#include "ButtonControllerBase.h"

View File

@ -12,9 +12,6 @@
#ifndef BUTTONCONTROLLERBASE_H
#define BUTTONCONTROLLERBASE_H
#ifdef __GNUG__
#pragma interface
#endif
#include "ButtonPolicies.h"
#include "LString.h"

View File

@ -11,9 +11,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "ControlAboutlyx.h"
#include "gettext.h"

View File

@ -13,9 +13,6 @@
#ifndef CONTROLABOUTLYX_H
#define CONTROLABOUTLYX_H
#ifdef __GNUG__
#pragma interface
#endif
#include "ControlDialog_impl.h"
#include "LString.h"

View File

@ -11,9 +11,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "ControlBibitem.h"
#include "BufferView.h"

View File

@ -13,9 +13,6 @@
#ifndef CONTROLBIBITEM_H
#define CONTROLBIBITEM_H
#ifdef __GNUG__
#pragma interface
#endif
#include "ControlCommand.h"

View File

@ -12,9 +12,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "ControlBibtex.h"
#include "buffer.h"

View File

@ -13,9 +13,6 @@
#ifndef CONTROLBIBTEX_H
#define CONTROLBIBTEX_H
#ifdef __GNUG__
#pragma interface
#endif
#include "ControlCommand.h"

View File

@ -10,9 +10,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "ControlButtons.h"
#include "ButtonControllerBase.h"

View File

@ -26,9 +26,6 @@
#ifndef CONTROLBUTTONS_H
#define CONTROLBUTTONS_H
#ifdef __GNUG__
#pragma interface
#endif
#include <boost/utility.hpp>

View File

@ -7,12 +7,8 @@
*
* Full author contact details are available in file CREDITS
*/
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include <config.h>
#include "ViewBase.h"
#include "ButtonControllerBase.h"
@ -54,11 +50,11 @@ string const ControlChanges::getChangeAuthor()
Change c(bufferview()->getCurrentChange());
if (c.type == Change::UNCHANGED)
return string();
Author const & a(bufferview()->buffer()->authors().get(c.author));
string author(a.name());
if (!a.email().empty()) {
author += " (";
author += a.email() + ")";
@ -67,13 +63,13 @@ string const ControlChanges::getChangeAuthor()
return author;
}
void ControlChanges::accept()
{
lv_.dispatch(FuncRequest(LFUN_ACCEPT_CHANGE));
lyxfind::findNextChange(bufferview());
}
void ControlChanges::reject()
{

View File

@ -8,14 +8,10 @@
*
* Full author contact details are available in file CREDITS
*/
#ifndef CONTROLCHANGES_H
#define CONTROLCHANGES_H
#ifdef __GNUG__
#pragma interface
#endif
#include "ControlDialog_impl.h"
#include "LString.h"
@ -34,7 +30,7 @@ public:
/// return author of change
string const getChangeAuthor();
/// accept the current merge
void accept();

View File

@ -10,9 +10,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "ControlCharacter.h"

View File

@ -12,9 +12,6 @@
#ifndef CONTROLCHARACTER_H
#define CONTROLCHARACTER_H
#ifdef __GNUG__
#pragma interface
#endif
#include "ControlDialog_impl.h"
#include "character.h"

View File

@ -10,9 +10,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "ControlCitation.h"
#include "buffer.h"

View File

@ -12,9 +12,6 @@
#ifndef CONTROLCITATION_H
#define CONTROLCITATION_H
#ifdef __GNUG__
#pragma interface
#endif
#include "ControlCommand.h"
#include "biblio.h" // biblio::InfoMap

View File

@ -10,9 +10,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "ControlCommand.h"

View File

@ -20,9 +20,6 @@
#ifndef CONTROLCOMMAND_H
#define CONTROLCOMMAND_H
#ifdef __GNUG__
#pragma interface
#endif
#include "ControlInset.h"
#include "insets/insetcommand.h"

View File

@ -12,9 +12,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "ControlCommandBuffer.h"
#include "support/lyxalgo.h"

View File

@ -18,9 +18,6 @@
#include <vector>
#ifdef __GNUG__
#pragma interface
#endif
class LyXFunc;

View File

@ -10,9 +10,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "ControlConnections.h"

View File

@ -28,9 +28,6 @@
#ifndef CONTROLCONNECTIONS_H
#define CONTROLCONNECTIONS_H
#ifdef __GNUG__
#pragma interface
#endif
#include "ControlButtons.h"

View File

@ -11,9 +11,6 @@
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "BufferView.h"
#include "ControlDocument.h"

View File

@ -12,9 +12,6 @@
#ifndef CONTROLDOCUMENT_H
#define CONTROLDOCUMENT_H
#ifdef __GNUG__
#pragma interface
#endif
#include <boost/scoped_ptr.hpp>
#include "ControlDialog_impl.h"

Some files were not shown because too many files have changed in this diff Show More