Commit 9b0e53e4 authored by cfouard's avatar cfouard
Browse files

FIXED added a main.cpp file as required by GCC

git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@402 ec899d31-69d1-42ba-9299-647d76f65fb3
parent 64786be1
......@@ -36,7 +36,6 @@ void ActionState::setAction(Action * action,
this->inputComponentNames = inputComponentNames;
this->outputComponentNames = outputComponentNames;
size = outputComponentNames.size();
ActionWidget * actionWidget = dynamic_cast<ActionWidget *> (this->myAction->getWidget());
if (actionWidget) {
......
......@@ -491,11 +491,3 @@ void ActionStateMachine::setCamiTKSaveAction(SaveActionState * actionState, QDom
QString ActionStateMachine::getSaveDirectory() {
return this->saveDirectory.absolutePath();
}
static int main(int argc, char **argv)
{
// create a camitk application
ActionStateMachine am(argc, argv);
return am.exec();
}
/*****************************************************************************
* $CAMITK_LICENCE_BEGIN$
*
* CamiTK - Computer Assisted Medical Intervention ToolKit
* (c) 2001-2012 UJF-Grenoble 1, CNRS, TIMC-IMAG UMR 5525 (GMCAO)
*
* Visit http://camitk.imag.fr for more information
*
* This file is part of CamiTK.
*
* CamiTK is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* CamiTK 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 Lesser General Public License version 3 for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with CamiTK. If not, see <http://www.gnu.org/licenses/>.
*
* $CAMITK_LICENCE_END$
****************************************************************************/
// -- Application Action State Machine Stuff
#include "ActionStateMachine.h"
int main(int argc, char **argv)
{
// create a camitk application
ActionStateMachine am(argc, argv);
return am.exec();
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment