X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_multitrack.h;h=5d272b338b7a52ceeecf2de733d42daa66934276;hb=e5fd66367b6f976e3bcb0ada98408afcb40cb2ce;hp=473ee2c1c3b6ba5af30d6a4f6c25f1bcdd2c1227;hpb=a2c29b04aabe82b14851b905fca993f9f471bc6b;p=melted diff --git a/src/framework/mlt_multitrack.h b/src/framework/mlt_multitrack.h index 473ee2c..5d272b3 100644 --- a/src/framework/mlt_multitrack.h +++ b/src/framework/mlt_multitrack.h @@ -1,21 +1,23 @@ -/* - * mlt_multitrack.h -- multitrack service class - * Copyright (C) 2003-2004 Ushodaya Enterprises Limited - * Author: Charles Yates +/** + * \file mlt_multitrack.h + * \brief multitrack service class * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. + * Copyright (C) 2003-2008 Ushodaya Enterprises Limited + * \author Charles Yates * - * This program is distributed in the hope that it will be useful, + * 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 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 */ #ifndef _MLT_MULITRACK_H_ @@ -23,8 +25,8 @@ #include "mlt_producer.h" -/** Private definition. -*/ +/** \brief Track class + */ struct mlt_track_s { @@ -34,6 +36,11 @@ struct mlt_track_s typedef struct mlt_track_s *mlt_track; +/** \brief Multitrack class + * + * \extends mlt_producer_s + */ + struct mlt_multitrack_s { /* We're extending producer here */ @@ -43,9 +50,6 @@ struct mlt_multitrack_s int count; }; -/** Public final methods -*/ - #define MLT_MULTITRACK_PRODUCER( multitrack ) ( &( multitrack )->parent ) #define MLT_MULTITRACK_SERVICE( multitrack ) MLT_PRODUCER_SERVICE( MLT_MULTITRACK_PRODUCER( multitrack ) ) #define MLT_MULTITRACK_PROPERTIES( multitrack ) MLT_SERVICE_PROPERTIES( MLT_MULTITRACK_SERVICE( multitrack ) )