Fixing warnings from doxygen:
[synfig.git] / synfig-core / trunk / src / modules / lyr_std / translate.cpp
index e126121..8a7e4a5 100644 (file)
@@ -1,18 +1,20 @@
-/*! ========================================================================
-** Synfig
-** Template File
-** $Id: translate.cpp,v 1.2 2005/01/24 03:08:17 darco Exp $
+/* === S Y N F I G ========================================================= */
+/*!    \file translate.cpp
+**     \brief Template File
 **
-** Copyright (c) 2002 Robert B. Quattlebaum Jr.
+**     \legal
+**     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
 **
-** This software and associated documentation
-** are CONFIDENTIAL and PROPRIETARY property of
-** the above-mentioned copyright holder.
+**     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.
 **
-** You may not copy, print, publish, or in any
-** other way distribute this software without
-** a prior written agreement with
-** the copyright holder.
+**     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
 **
 ** === N O T E S ===========================================================
 **
@@ -65,12 +67,12 @@ Translate::Translate():origin(0,0)
 Translate::~Translate()
 {
 }
-       
+
 bool
 Translate::set_param(const String & param, const ValueBase &value)
 {
        IMPORT(origin);
-       
+
        return false;
 }
 
@@ -80,20 +82,20 @@ Translate::get_param(const String& param)const
        EXPORT(origin);
        EXPORT_NAME();
        EXPORT_VERSION();
-               
-       return ValueBase();     
+
+       return ValueBase();
 }
 
 Layer::Vocab
 Translate::get_param_vocab()const
 {
        Layer::Vocab ret;
-       
+
        ret.push_back(ParamDesc("origin")
                .set_local_name(_("Origin"))
                .set_description(_("Point where you want the origin to be"))
        );
-       
+
        return ret;
 }
 
@@ -114,12 +116,12 @@ class Translate_Trans : public Transform
        etl::handle<const Translate> layer;
 public:
        Translate_Trans(const Translate* x):Transform(x->get_guid()),layer(x) { }
-       
+
        synfig::Vector perform(const synfig::Vector& x)const
        {
                return x+layer->origin;
        }
-       
+
        synfig::Vector unperform(const synfig::Vector& x)const
        {
                return x-layer->origin;