/*
    Plee the Bear

    Copyright (C) 2005 Julien Jorge

    This program 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 program 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.

    You should have received a copy of the GNU General Public License along
    with this program; if not, write to the Free Software Foundation, Inc.,
    51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

    contact: julien.jorge@gamned.org, sebastien_angibaud@yahoo.fr

    Please add the tag [PTB] in the subject of your mails.
*/
/**
 * \file filename.cpp
 * \brief descritpion.
 * \author name of the author of the file.
 *
 * Detailed comments are welcome.
 */
#include "filename.hpp"

/*----------------------------------------------------------------------------*/
/**
 * \brief Short descritpion.
 * \param p Description of the parameters.
 *
 * Long description, if any.
 */
type namespace::class::method()
{
  type return_value;
  
  if ( something )
    {
      switch(n)
        {
        case 10 : do_something(); break;
	case 20 :
	  {
	    /* multiple lines of code */
	  }
	}

      return_value = 24;
    }
  else if ( something_else )
    {
      return_value = 42;
    }
  else
    return_value = 0;

  return return_value;
} // class::method()
