// <handle> -*- C++ -*-
/* === E T L =============================================================== */
/*!	\file handle
**	$Id: handle 1815 2008-02-24 21:02:47Z dooglus $
**	\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 __HANDLE__
#define __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
#define ETL_LOCK_REFCOUNTS
#endif

#ifdef ETL_LOCK_REFCOUNTS
#  include "mutex"
#endif

#include "_handle.h"

/* === E N D =============================================================== */

#endif
