Mlt.h, MltFactory.{h,cpp}, MltRepository.{h,cpp}, swig/mltpp.i: update to deal with...
[melted] / mlt++ / src / MltFactory.h
index db4cfa9..aeec588 100644 (file)
@@ -1,6 +1,7 @@
 /**
  * MltFactory.h - MLT Wrapper
  * Copyright (C) 2004-2005 Charles Yates
+ * Copyright (C) 2008 Dan Dennedy <dan@dennedy.org>
  * Author: Charles Yates <charles.yates@pandora.be>
  *
  * This program is free software; you can redistribute it and/or modify
@@ -37,11 +38,12 @@ namespace Mlt
        class Transition;
        class Consumer;
        class Profile;
+       class Repository;
 
        class MLTPP_DECLSPEC Factory
        {
                public:
-                       static int init( char *arg = NULL );
+                       static Repository *init( const char *directory = NULL );
                        static Properties *event_object( );
                        static Producer *producer( Profile& profile, char *id, char *arg = NULL );
                        static Filter *filter( Profile& profile, char *id, char *arg = NULL );