]> git.lyx.org Git - features.git/commit
This commit cleans up everything related to singleton. The other important change...
authorAbdelrazak Younes <younes@lyx.org>
Wed, 11 Oct 2006 17:24:46 +0000 (17:24 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Wed, 11 Oct 2006 17:24:46 +0000 (17:24 +0000)
commit28ad9602557a145bfd88c79dddecdc34c95c698c
treefbcdfd16fb6faa00e2fd0c27e1641f7e673215a7
parent68ee23313ae3a1fa03d994147f8dc0c90472ba90
This commit cleans up everything related to singleton. The other important change is that lyx::dispatch() and lyx::getStatus become _the_ official way to use LyXFunc equivalent methods.

* lyxfunc.h:
  - theLyXFunc(): new function in the global namespace.
  - lyx::dispatch():  new function in the lyx namespace.
  - lyx::getStatus():  new function in the lyx namespace.

* bufferlist.h:
  - theBufferList(): new function in the global namespace.

* Clipboard.h:
  - theClipboard(): new function in the global namespace.

* Selection.h:
  - theSelection(): new function in the global namespace.

* FontLoader.h:
  - theFontLoader(): new function in the global namespace.

* FontMetrics.h:
  - theFontMetrics(LyXFont const &): new function in the global namespace.

* Application.C: implements the functions defined above.

* LyXView.h:
  - getLyXFunc(): deleted.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15298 a592a061-630c-0410-9148-cb99ea01b6c8
68 files changed:
src/BufferView.C
src/CutAndPaste.C
src/LaTeX.C
src/MenuBackend.C
src/buffer.C
src/buffer_funcs.C
src/bufferlist.h
src/cursor.C
src/dimension.C
src/frontends/Application.C
src/frontends/Clipboard.h
src/frontends/FontLoader.h
src/frontends/FontMetrics.h
src/frontends/LyXView.C
src/frontends/LyXView.h
src/frontends/Painter.C
src/frontends/Selection.h
src/frontends/Toolbars.C
src/frontends/WorkArea.C
src/frontends/controllers/ControlCommandBuffer.C
src/frontends/controllers/ControlPrefs.C
src/frontends/controllers/ControlRef.C
src/frontends/controllers/Dialog.C
src/frontends/controllers/Kernel.C
src/frontends/gtk/GMenubar.C
src/frontends/gtk/GToolbar.C
src/frontends/gtk/GView.C
src/frontends/qt3/QLToolbar.C
src/frontends/qt3/QtView.C
src/frontends/qt4/Action.C
src/frontends/qt4/GuiView.C
src/frontends/qt4/InsertTableWidget.C
src/frontends/qt4/QLPainter.C
src/frontends/qt4/QLToolbar.C
src/insets/insetbibitem.C
src/insets/insetcaption.C
src/insets/insetcharstyle.C
src/insets/insetcollapsable.C
src/insets/insetinclude.C
src/insets/insetlatexaccent.C
src/insets/insetnewline.C
src/insets/insetpagebreak.C
src/insets/insetquotes.C
src/insets/insetref.C
src/insets/insetspace.C
src/insets/insetspecialchar.C
src/insets/insettabular.C
src/insets/insetvspace.C
src/insets/render_button.C
src/insets/render_graphic.C
src/insets/render_preview.C
src/lyx_cb.C
src/lyx_main.C
src/lyxfunc.C
src/lyxfunc.h
src/lyxlength.C
src/mathed/InsetFormulaMacro.C
src/mathed/InsetMathBig.C
src/mathed/InsetMathChar.C
src/mathed/InsetMathHull.C
src/mathed/InsetMathNest.C
src/mathed/MathFactory.C
src/mathed/MathMacroTemplate.C
src/mathed/MathSupport.C
src/rowpainter.C
src/text.C
src/text2.C
src/text3.C