der. makefile change
[asdcplib.git] / src / S12MTimecode.h
index 23ccbb4a79ee8da6d3172cf7ef0bed5070224151..e750f2549f4253807b5ffce2ca9cb2450da482e2 100644 (file)
@@ -1,5 +1,5 @@
 /*
-Copyright (c) 2007, John Hurst
+Copyright (c) 2007-2009, John Hurst
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
@@ -45,6 +45,7 @@ namespace ASDCP {
 
  class S12MTimecode : public Kumu::IArchive
 {
+ protected:
   ui32_t m_FrameCount;
   ui32_t m_FPS;
 
@@ -58,7 +59,7 @@ public:
     DecodeString(tc);
   }
 
-  S12MTimecode(const S12MTimecode& rhs) : m_FrameCount(0), m_FPS(0)
+  S12MTimecode(const S12MTimecode& rhs) : IArchive(), m_FrameCount(0), m_FPS(0)
   {
     m_FPS = rhs.m_FPS;
     m_FrameCount = rhs.m_FrameCount;
@@ -130,6 +131,7 @@ public:
 
   // IArchive
   bool HasValue() const { return (m_FPS > 0); }
+  ui32_t ArchiveLength() const { return sizeof(ui32_t)*2; }
 
   bool Archive(Kumu::MemIOWriter* Writer) const
   {