]> git.mxchange.org Git - simgear.git/commit
Move SGReadFileCallback from model.cxx to public class ModelRegistry
authortimoore <timoore>
Thu, 29 Nov 2007 23:55:01 +0000 (23:55 +0000)
committertimoore <timoore>
Thu, 29 Nov 2007 23:55:01 +0000 (23:55 +0000)
commit2fbaddbecf27288e1da335dce591791e9a6016af
treedadde690868c8814a263a9421135f132d4a2f092
parentcafcecf03ddbdcc2b9bfb57fd60f702bee469b12
Move SGReadFileCallback from model.cxx to public class ModelRegistry

Move SGReadFileCallback and all its help classes into a new
ModelRegistry class that also provides an interface to add custom
callbacks for specific file extensions. SGReaderWriterBTG uses that to
keep any further processing from being done on .btg files. Various
namespace-releated cleanup was done on this code too.
simgear/scene/model/Makefile.am
simgear/scene/model/ModelRegistry.cxx [new file with mode: 0644]
simgear/scene/model/ModelRegistry.hxx [new file with mode: 0644]
simgear/scene/model/model.cxx
simgear/scene/tgdb/SGReaderWriterBTG.cxx
simgear/scene/tgdb/SGReaderWriterBTG.hxx