/* ***** BEGIN LICENSE BLOCK *****
 * FW4SPL - Copyright (C) IRCAD, 2009-2010.
 * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
 * published by the Free Software Foundation.
 * ****** END LICENSE BLOCK ****** */

#ifndef __FWDATAIO_WRITER_REGISTRY_MACRO_HPP__
#define __FWDATAIO_WRITER_REGISTRY_MACRO_HPP__

#include "fwData/registry/detail.hpp"

namespace fwDataIO
{
namespace writer
{
namespace registry
{

#define fwDataIOWriterRegisterMacro( classname )                                  \
    static ::fwDataIO::writer::IObjectWriter::Registrar< classname > s__factory__record__ ## __LINE__ ;

} // end namespace registry
} // end namespace writer
} // end namespace fwDataIO

#endif /*__FWDATAIO_WRITER_REGISTRY_MACRO_HPP__*/
