]> git.saurik.com Git - wxWidgets.git/commit - src/xrc/xmladv.cpp
Refactor wxXRC to allow defining handlers outside of xrc library.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 23 Oct 2012 13:51:32 +0000 (13:51 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 23 Oct 2012 13:51:32 +0000 (13:51 +0000)
commita3b9c43bbc6bf71b6b618d4e2a71231e9cd431dc
treefd75caff26afda0205db78d6fbe3f39003607af5
parent4dca3e02a667ce25c420543001fc34dde94dfa1a
Refactor wxXRC to allow defining handlers outside of xrc library.

Split wxXmlResourceHandler into an ABC and the real implementation to allow
referencing the ABC in the core library itself but without pulling in all of
the XRC into it. This also allows defining XRC handlers, which only depend on
this ABC and not the xrc library, in other libraries, such as richtext, as
demonstrated by the now enabled wxRichTextXMLHandler.

Closes #10996.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
23 files changed:
Makefile.in
build/bakefiles/files.bkl
build/msw/makefile.bcc
build/msw/makefile.gcc
build/msw/makefile.vc
build/msw/makefile.wat
build/msw/wx_core.dsp
build/msw/wx_richtext.dsp
build/msw/wx_vc7_core.vcproj
build/msw/wx_vc7_richtext.vcproj
build/msw/wx_vc8_core.vcproj
build/msw/wx_vc8_richtext.vcproj
build/msw/wx_vc9_core.vcproj
build/msw/wx_vc9_richtext.vcproj
docs/doxygen/overviews/xrc_format.h
include/wx/xrc/xh_richtext.h
include/wx/xrc/xmlres.h
include/wx/xrc/xmlreshandler.h [new file with mode: 0644]
src/xrc/xh_richtext.cpp
src/xrc/xmladv.cpp
src/xrc/xmlres.cpp
src/xrc/xmlreshandler.cpp [new file with mode: 0644]
src/xrc/xmlrsall.cpp