]> git.lyx.org Git - features.git/commit
* messages.h:
authorAbdelrazak Younes <younes@lyx.org>
Sun, 14 Jan 2007 10:37:14 +0000 (10:37 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sun, 14 Jan 2007 10:37:14 +0000 (10:37 +0000)
commit197ca2420b20d468fb2f4a5bd5b5ec69e15d8c6f
tree321f0a8a7c2af4b79dbfd32ef2fd1f4abe5fd40a
parentf55103109e3c0b9b0f3b5685ebd83ef5e4be36b2
* messages.h:
  - getMessages(), getGuiMessages(): new global function definitions

* lyx_main.C: implementation of getMessages() and getGuiMessages().

* LyX class:
  - getMessages(), getGuiMessages(), setGuiLanguage(): new interface for Messages access.

* LyX::Singletons class:
  - messages_: new container for Messages objects.

* Buffer::Impl::messages is now a pointer to the singleton defined in lyx_main.C.

* gettext.C: _() uses the global getGuiMessages() instead of the local static Messages object.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16673 a592a061-630c-0410-9148-cb99ea01b6c8
src/buffer.C
src/gettext.C
src/lyx_main.C
src/lyx_main.h
src/messages.h