1 /** 2 * MltLink.h - MLT Wrapper 3 * Copyright (C) 2020 Meltytech, LLC 4 * 5 * This library is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU Lesser General Public 7 * License as published by the Free Software Foundation; either 8 * version 2.1 of the License, or (at your option) any later version. 9 * 10 * This library is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * Lesser General Public License for more details. 14 * 15 * You should have received a copy of the GNU Lesser General Public 16 * License along with this library; if not, write to the Free Software 17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 18 */ 19 20 #ifndef MLTPP_LINK_H 21 #define MLTPP_LINK_H 22 23 #include "MltConfig.h" 24 #include "MltProducer.h" 25 #include "MltProducer.h" 26 27 #include <framework/mlt.h> 28 29 namespace Mlt 30 { 31 class Producer; 32 class Profile; 33 34 class MLTPP_DECLSPEC Link : public Producer 35 { 36 private: 37 mlt_link instance; 38 public: 39 Link( ); 40 Link( mlt_link link ); 41 Link( const char* id, const char* service = NULL ); 42 virtual ~Link( ); 43 virtual mlt_link get_link( ); 44 mlt_producer get_producer( ); 45 int connect_next( Mlt::Producer& next, Mlt::Profile& default_profile ); 46 }; 47 } 48 49 #endif 50