From Marco Jez, improvements to osgIntrospection, and new automatically generated
osgWrappers/osg set.
This commit is contained in:
22
include/osgIntrospection/ConverterProxy
Normal file
22
include/osgIntrospection/ConverterProxy
Normal file
@@ -0,0 +1,22 @@
|
||||
#ifndef OSGINTROSPECTION_CONVERTERPROXY_
|
||||
#define OSGINTROSPECTION_CONVERTERPROXY_
|
||||
|
||||
#include <osgIntrospection/Reflection>
|
||||
|
||||
namespace osgIntrospection
|
||||
{
|
||||
|
||||
struct Converter;
|
||||
|
||||
struct ConverterProxy
|
||||
{
|
||||
ConverterProxy(const Type &source, const Type &dest, const Converter *cvt)
|
||||
{
|
||||
Reflection::registerConverter(source, dest, cvt);
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user