]> granicus.if.org Git - libmatroska/commitdiff
Move definition of KaxCodeVersion into the library
authorMoritz Bunkus <moritz@bunkus.org>
Sun, 11 Sep 2011 09:04:00 +0000 (09:04 +0000)
committerMoritz Bunkus <moritz@bunkus.org>
Sun, 11 Sep 2011 09:04:00 +0000 (09:04 +0000)
git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/libmatroska@804 a6f86f6d-0131-4f8e-9e7b-e335508773d5

matroska/KaxVersion.h
src/KaxVersion.cpp

index 11233d87bee49ba80490ffc2f7652991f20ad844..afe532c2363aae8c27e076102773292120b4bdb8 100644 (file)
@@ -42,8 +42,8 @@ START_LIBMATROSKA_NAMESPACE
 
 #define LIBMATROSKA_VERSION 0x010200
 
-static const std::string KaxCodeVersion = "1.2.0";
-static const std::string KaxCodeDate    = __TIMESTAMP__;
+extern const std::string KaxCodeVersion;
+extern const std::string KaxCodeDate;
 
 /*!
        \todo Improve the CRC/ECC system (backward and forward possible ?) to fit streaming/live writing/simple reading
index 992c2db277888930f629110b3b09aeb407aeb3ee..1e5eaa116bba5b652c86af38776cc539e7512ca0 100644 (file)
@@ -1,40 +1,43 @@
-/****************************************************************************\r
-** libmatroska : parse Matroska files, see http://www.matroska.org/\r
-**\r
-** <file/class description>\r
-**\r
-** Copyright (C) 2002-2010 Steve Lhomme.  All rights reserved.\r
-**\r
-** This file is part of libmatroska.\r
-**\r
-** This library is free software; you can redistribute it and/or\r
-** modify it under the terms of the GNU Lesser General Public\r
-** License as published by the Free Software Foundation; either\r
-** version 2.1 of the License, or (at your option) any later version.\r
-** \r
-** This library is distributed in the hope that it will be useful,\r
-** but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
-** Lesser General Public License for more details.\r
-** \r
-** You should have received a copy of the GNU Lesser General Public\r
-** License along with this library; if not, write to the Free Software\r
-** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\r
-**\r
-** See http://www.matroska.org/license/lgpl/ for LGPL licensing information.**\r
-** Contact license@matroska.org if any conditions of this licensing are\r
-** not clear to you.\r
-**\r
-**********************************************************************/\r
-\r
-/*!\r
-       \file\r
-       \version \$Id: KaxVersion.cpp 640 2004-07-09 21:05:36Z mosu $\r
-       \author Steve Lhomme     <robux4 @ users.sf.net>\r
-*/\r
-\r
-#include "matroska/KaxVersion.h"\r
-\r
-START_LIBMATROSKA_NAMESPACE\r
-\r
-END_LIBMATROSKA_NAMESPACE\r
+/****************************************************************************
+** libmatroska : parse Matroska files, see http://www.matroska.org/
+**
+** <file/class description>
+**
+** Copyright (C) 2002-2010 Steve Lhomme.  All rights reserved.
+**
+** This file is part of libmatroska.
+**
+** 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
+** Lesser General Public License for more details.
+**
+** 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
+**
+** See http://www.matroska.org/license/lgpl/ for LGPL licensing information.**
+** Contact license@matroska.org if any conditions of this licensing are
+** not clear to you.
+**
+**********************************************************************/
+
+/*!
+       \file
+       \version \$Id: KaxVersion.cpp 640 2004-07-09 21:05:36Z mosu $
+       \author Steve Lhomme     <robux4 @ users.sf.net>
+*/
+
+#include "matroska/KaxVersion.h"
+
+START_LIBMATROSKA_NAMESPACE
+
+const std::string KaxCodeVersion = "1.2.0";
+const std::string KaxCodeDate    = __TIMESTAMP__;
+
+END_LIBMATROSKA_NAMESPACE