You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
2.1 KiB
69 lines
2.1 KiB
/**
|
|
* MltParser.h - MLT Wrapper
|
|
* Copyright (C) 2004-2005 Charles Yates
|
|
* Author: Charles Yates <charles.yates@pandora.be>
|
|
*
|
|
* 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 program 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.
|
|
*
|
|
* 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
*/
|
|
|
|
#ifndef _MLTPP_PARSER_H_
|
|
#define _MLTPP_PARSER_H_
|
|
|
|
#include "config.h"
|
|
|
|
#include <framework/mlt.h>
|
|
#include "MltProperties.h"
|
|
|
|
namespace Mlt
|
|
{
|
|
class Properties;
|
|
class Service;
|
|
class Producer;
|
|
class Playlist;
|
|
class Tractor;
|
|
class Multitrack;
|
|
class Filter;
|
|
class Transition;
|
|
|
|
class MLTPP_DECLSPEC Parser : public Properties
|
|
{
|
|
private:
|
|
mlt_parser parser;
|
|
public:
|
|
Parser( );
|
|
~Parser( );
|
|
int start( Service &service );
|
|
virtual mlt_properties get_properties( );
|
|
virtual int on_invalid( Service *object );
|
|
virtual int on_unknown( Service *object );
|
|
virtual int on_start_producer( Producer *object );
|
|
virtual int on_end_producer( Producer *object );
|
|
virtual int on_start_playlist( Playlist *object );
|
|
virtual int on_end_playlist( Playlist *object );
|
|
virtual int on_start_tractor( Tractor *object );
|
|
virtual int on_end_tractor( Tractor *object );
|
|
virtual int on_start_multitrack( Multitrack *object );
|
|
virtual int on_end_multitrack( Multitrack *object );
|
|
virtual int on_start_track( );
|
|
virtual int on_end_track( );
|
|
virtual int on_start_filter( Filter *object );
|
|
virtual int on_end_filter( Filter *object );
|
|
virtual int on_start_transition( Transition *object );
|
|
virtual int on_end_transition( Transition *object );
|
|
};
|
|
}
|
|
|
|
#endif
|