00001 /*************************************************************************** 00002 l1394_timecode.cpp - description 00003 ------------------- 00004 begin : Wed Jan 24 2001 00005 copyright : (C) 2001-2004 by Michael Repplinger 00006 email : repplix@studcs.uni-sb.de 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #include "l1394_timecode.h" 00019 00020 namespace L1394{ 00021 00022 Timecode::Timecode() 00023 { 00024 _frame = 0; _second = 0; 00025 _minute = 0; _hour =0; 00026 _day = 0; _week =0; 00027 _month = 0; _year= 0; 00028 _time_zone = 0; 00029 } 00030 00031 Timecode::~Timecode(){} 00032 00033 Timecode::Timecode(const Timecode& t) 00034 { 00035 *this = t; 00036 } 00037 00038 Timecode& Timecode::operator=(const Timecode& t) 00039 { 00040 _frame = t._frame; _second = t._second; _minute = t._minute; _hour = t._hour; 00041 _day = t._day; _week = t._week; _month = t._month; _year = t._year; _time_zone = t._time_zone; 00042 return *this; 00043 } 00044 00045 } //end namespace