]> git.sesse.net Git - mlt/blobdiff - src/mlt++/MltRepository.cpp
Stop special-casing the disable parameter for setting.
[mlt] / src / mlt++ / MltRepository.cpp
index d8984a29b4c08d91df10aad6d8781cc05f93470e..00e4b4c64e116d1fb89815649ae0741127c5fd00 100644 (file)
@@ -2,19 +2,19 @@
  * MltRepository.cpp - MLT Wrapper
  * Copyright (C) 2008 Dan Dennedy <dan@dennedy.org>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published
- * by the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
  *
- * This program is distributed in the hope that it will be useful,
+ * This library is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
 #include "MltRepository.h"
@@ -79,3 +79,13 @@ Properties *Repository::metadata( mlt_service_type type, const char *service ) c
 {
        return new Properties( mlt_repository_metadata( instance, type, service ) );
 }
+
+Properties *Repository::languages( ) const
+{
+       return new Properties( mlt_repository_languages( instance ) );
+}
+
+Properties *Repository::presets( )
+{
+       return new Properties( mlt_repository_presets( ) );
+}