X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftags%2Fstable%2Fsrc%2Fsinfg%2Funiqueid.cpp;fp=synfig-core%2Ftags%2Fstable%2Fsrc%2Fsinfg%2Funiqueid.cpp;h=0000000000000000000000000000000000000000;hb=c5bd5e71f365fe9d1aa42b844f403d3ffc408bec;hp=904b83cea39d42680bd2ce57f810edcb2cea35fe;hpb=842d1c156ee50dc0045a0b0272d090c01965b2f0;p=synfig.git diff --git a/synfig-core/tags/stable/src/sinfg/uniqueid.cpp b/synfig-core/tags/stable/src/sinfg/uniqueid.cpp deleted file mode 100644 index 904b83c..0000000 --- a/synfig-core/tags/stable/src/sinfg/uniqueid.cpp +++ /dev/null @@ -1,50 +0,0 @@ -/* === S I N F G =========================================================== */ -/*! \file uniqueid.cpp -** \brief Template File -** -** $Id: uniqueid.cpp,v 1.1.1.1 2005/01/04 01:23:15 darco Exp $ -** -** \legal -** Copyright (c) 2002 Robert B. Quattlebaum Jr. -** -** This software and associated documentation -** are CONFIDENTIAL and PROPRIETARY property of -** the above-mentioned copyright holder. -** -** You may not copy, print, publish, or in any -** other way distribute this software without -** a prior written agreement with -** the copyright holder. -** \endlegal -*/ -/* ========================================================================= */ - -/* === H E A D E R S ======================================================= */ - -#ifdef USING_PCH -# include "pch.h" -#else -#ifdef HAVE_CONFIG_H -# include -#endif - -#include "uniqueid.h" - -#endif - -/* === U S I N G =========================================================== */ - -using namespace std; -using namespace sinfg; - -/* === G L O B A L S ======================================================= */ - -static int uniqueid_pool_(0); - -/* === M E T H O D S ======================================================= */ - -int -sinfg::UniqueID::next_id() -{ - return ++uniqueid_pool_; -}