X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=ETL%2FETL%2Fhandle;fp=ETL%2FETL%2Fhandle;h=76508bce81a4dda48a13b12f51766a4b06a2615f;hb=a095981e18cc37a8ecc7cd237cc22b9c10329264;hp=0000000000000000000000000000000000000000;hpb=9459638ad6797b8139f1e9f0715c96076dbf0890;p=synfig.git diff --git a/ETL/ETL/handle b/ETL/ETL/handle new file mode 100644 index 0000000..76508bc --- /dev/null +++ b/ETL/ETL/handle @@ -0,0 +1,49 @@ +// -*- C++ -*- +/* === E T L =============================================================== */ +/*! \file handle +** $Id$ +** \brief Template Object Handle +** +** \legal +** Copyright (c) 2002 Robert B. Quattlebaum Jr. +** Copyright (c) 2008 Chris Moore +** +** 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. +** +** 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 __ETL__HANDLE__ +#define __ETL__HANDLE__ + +/* === H E A D E R S ======================================================= */ + +#include "etl_config.h" + +// include the next line in an attempt to increase stability +// it seems to make things much *less* stable on MS Windows +#ifndef _WIN32 +#ifdef HAVE_LIBPTHREAD +#define ETL_LOCK_REFCOUNTS +#endif +#endif + +#ifdef ETL_LOCK_REFCOUNTS +# include "mutex" +#endif + +#include "_handle.h" + +/* === E N D =============================================================== */ + +#endif