Constness changes
authorddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Fri, 10 Apr 2009 07:23:28 +0000 (07:23 +0000)
committerddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Fri, 10 Apr 2009 07:23:28 +0000 (07:23 +0000)
Signed-off-by: Ray Lehtiniemi <rayl@mail.com>

git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt++@1390 d19143bc-622f-0410-bfdd-b5b2a6649095

mlt++/src/MltFilter.cpp
mlt++/src/MltFilter.h
mlt++/src/MltProperties.cpp
mlt++/src/MltProperties.h

index ad79fcf..6fbc93a 100644 (file)
@@ -24,7 +24,7 @@
 #include "MltProfile.h"
 using namespace Mlt;
 
-Filter::Filter( Profile& profile, char *id, char *arg ) :
+Filter::Filter( Profile& profile, const char *id, const char *arg ) :
        instance( NULL )
 {
        if ( arg != NULL )
index 8efb4e4..bba1ee2 100644 (file)
@@ -37,7 +37,7 @@ namespace Mlt
                private:
                        mlt_filter instance;
                public:
-                       Filter( Profile& profile, char *id, char *service = NULL );
+                       Filter( Profile& profile, const char *id, const char *service = NULL );
                        Filter( Service &filter );
                        Filter( Filter &filter );
                        Filter( mlt_filter filter );
index f168eb9..f1b2b56 100644 (file)
@@ -242,7 +242,7 @@ Event *Properties::listen( char *id, void *object, mlt_listener listener )
 
 #endif
 
-Event *Properties::setup_wait_for( char *id )
+Event *Properties::setup_wait_for( const char *id )
 {
        return new Event( mlt_events_setup_wait_for( get_properties( ), id ) );
 }
index 4e51668..b41929d 100644 (file)
@@ -80,7 +80,7 @@ namespace Mlt
                        Event *listen( char *id, void *object, mlt_listener );
                        #endif
                        static void delete_event( Event * );
-                       Event *setup_wait_for( char *id );
+                       Event *setup_wait_for( const char *id );
                        void wait_for( Event *, bool destroy = true );
        };
 }