/* TIMECODE.hpp - grid aligned and fixed format time specifications Copyright (C) Lumiera.org 2010, Hermann Vosseler 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 LIB_TIME_TIMECODE_H #define LIB_TIME_TIMECODE_H #include "lib/time/timevalue.hpp" #include "lib/time/formats.hpp" //#include #include namespace lib { namespace time { /** * fixed format time specification. * @param FMT the actual timecode format to use * @see time::Format * @todo WIP-WIP-WIP */ template class TCode { public: }; class QuTime; /** * A frame counting timecode value. * This is an hard-coded representation of * TCode, with additional convenience * constructors and conversions, which basically make * FrameNr values interchangeable with integral numbers. */ class FrameNr : public TCode { public: FrameNr (QuTime const& quantisedTime); operator long() const; }; }} // lib::time #endif