/* MOBJECT.hpp - Key Abstraction: A Media Object in the Session Copyright (C) CinelerraCV 2007, Christian Thaeter 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. 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., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef MOBJECT_MOBJECT_H #define MOBJECT_MOBJECT_H #include #include #include "cinelerra.h" #include "proc/mobject/buildable.hpp" using std::list; using std::tr1::shared_ptr; namespace mobject { class Placement; /** * MObject is the interface class for all "Media Objects". * All the contents and elements that can be placed and * manipulated and finally rendered within Cinelerra's EDL * are MObjects. */ class MObject : public Buildable { protected: typedef cinelerra::Time Time; // TODO: how to represent time intervals best? Time length; list placement; }; typedef shared_ptr PMO; } // namespace mobject #endif