X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fsinfg%2Fsmartfile.h;fp=synfig-core%2Ftrunk%2Fsrc%2Fsinfg%2Fsmartfile.h;h=0000000000000000000000000000000000000000;hb=e3acc0b267b14fda5db3c7bbb2f218b993ef84b3;hp=25d2de371ce104c8d47339e566a174c3f8ea72ce;hpb=ced68168d8518aac837f20e73bcd1e84a6bd6178;p=synfig.git diff --git a/synfig-core/trunk/src/sinfg/smartfile.h b/synfig-core/trunk/src/sinfg/smartfile.h deleted file mode 100644 index 25d2de3..0000000 --- a/synfig-core/trunk/src/sinfg/smartfile.h +++ /dev/null @@ -1,51 +0,0 @@ -/* === S I N F G =========================================================== */ -/*! \file smartfile.h -** \brief Template Header -** -** $Id: smartfile.h,v 1.1.1.1 2005/01/04 01:23:14 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 -*/ -/* ========================================================================= */ - -/* === S T A R T =========================================================== */ - -#ifndef __SINFG_SMARTFILE_H -#define __SINFG_SMARTFILE_H - -/* === H E A D E R S ======================================================= */ - -#include -#include - -/* === M A C R O S ========================================================= */ - -/* === T Y P E D E F S ===================================================== */ - -/* === C L A S S E S & S T R U C T S ======================================= */ - -namespace sinfg { - -struct _FILE_deleter -{ - void operator()(FILE* x)const { if(x!=stdout && x!=stdin) fclose(x); } -}; - -typedef etl::smart_ptr SmartFILE; - -}; // END of namespace sinfg - -/* === E N D =============================================================== */ - -#endif