X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsynfig%2Fversion.h;h=aba3cfdae38bd38bb0934b660629a479c09beb72;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=841a0d648c13ee0225372517a49eff71473486ae;hpb=e3acc0b267b14fda5db3c7bbb2f218b993ef84b3;p=synfig.git diff --git a/synfig-core/trunk/src/synfig/version.h b/synfig-core/trunk/src/synfig/version.h index 841a0d6..aba3cfd 100644 --- a/synfig-core/trunk/src/synfig/version.h +++ b/synfig-core/trunk/src/synfig/version.h @@ -1,65 +1,66 @@ -/* === S I N F G =========================================================== */ +/* === S Y N F I G ========================================================= */ /*! \file version.h ** \brief Template Header ** -** $Id: version.h,v 1.1.1.1 2005/01/04 01:23:15 darco Exp $ +** $Id$ ** ** \legal -** Copyright (c) 2002 Robert B. Quattlebaum Jr. +** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley ** -** This software and associated documentation -** are CONFIDENTIAL and PROPRIETARY property of -** the above-mentioned copyright holder. +** This package 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. ** -** You may not copy, print, publish, or in any -** other way distribute this software without -** a prior written agreement with -** the copyright holder. +** This package 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. ** \endlegal */ /* ========================================================================= */ /* === S T A R T =========================================================== */ -#ifndef __SINFG_VERSION_H -#define __SINFG_VERSION_H +#ifndef __SYNFIG_VERSION_H +#define __SYNFIG_VERSION_H /* === H E A D E R S ======================================================= */ /* === M A C R O S ========================================================= */ -/*! \def SINFG_VERSION -** \brief Sinfg API Version +/*! \def SYNFIG_VERSION +** \brief Synfig API Version ** -** The macro SINFG_VERSION can be set to ensure +** The macro SYNFIG_VERSION can be set to ensure ** compile-time compatibility with future versions -** of Sinfg. The first two digits are the major +** of Synfig. The first two digits are the major ** version, the second two digits are the minor ** version, and the last two digits are the ** revision release. */ -#ifndef SINFG_VERSION -#define SINFG_VERSION (006000) +#ifndef SYNFIG_VERSION +#define SYNFIG_VERSION (006000) #endif /*! Increment this value whenever ** the library changes in a way ** that breaks library compatibility */ -#define SINFG_LIBRARY_VERSION 47 +#define SYNFIG_LIBRARY_VERSION 47 /*! \writeme */ -#define SINFG_CHECK_VERSION() sinfg::check_version_(SINFG_LIBRARY_VERSION,sizeof(sinfg::Vector),sizeof(sinfg::Color),sizeof(sinfg::Canvas),sizeof(sinfg::Layer)) +#define SYNFIG_CHECK_VERSION() synfig::check_version_(SYNFIG_LIBRARY_VERSION,sizeof(synfig::Vector),sizeof(synfig::Color),sizeof(synfig::Canvas),sizeof(synfig::Layer)) /* === C L A S S E S & S T R U C T S ======================================= */ -namespace sinfg { +namespace synfig { //! Version checker \internal /*! Checks to make sure that the library ** version matches with what the program ** was compiled against. -** \see SINFG_CHECK_VERSION() +** \see SYNFIG_CHECK_VERSION() */ extern bool check_version_(int v,int vec_size, int color_size,int canvas_size,int layer_size); @@ -67,9 +68,7 @@ extern const char *get_version(); extern const char *get_build_date(); -extern const char *get_build_time(); - -}; // END of namespace sinfg +}; // END of namespace synfig /* === E N D =============================================================== */