+ Win32 port - dev studio is required to avoid issues with C++ ABI compatibility
[melted] / mlt++ / src / MltFactory.cpp
index e52f49a..f32018a 100644 (file)
@@ -30,6 +30,11 @@ int Factory::init( char *arg )
        return mlt_factory_init( arg );
 }
 
+Properties *Factory::event_object( )
+{
+       return new Properties( mlt_factory_event_object( ) );
+}
+
 Producer *Factory::producer( char *id, char *arg )
 {
        return new Producer( id, arg );
@@ -50,6 +55,18 @@ Consumer *Factory::consumer( char *id, char *arg )
        return new Consumer( id, arg );
 }
 
+#ifdef WIN32
+char *Factory::getenv( const char *name )
+{
+       return mlt_getenv( name );
+}
+
+int Factory::setenv( const char *name, const char *value )
+{
+       return mlt_setenv( name, value );
+}
+#endif
+
 void Factory::close( )
 {
        mlt_factory_close( );