$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r62565 - in trunk/libs/msm/doc: HTML/examples HTML/examples/distributed_table HTML/examples/iPod_distributed PDF/examples PDF/examples/distributed_table PDF/examples/iPod_distributed
From: christophe.j.henry_at_[hidden]
Date: 2010-06-08 09:07:32
Author: chenry
Date: 2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
New Revision: 62565
URL: http://svn.boost.org/trac/boost/changeset/62565
Log:
corrected warnings from the Inspection Report tool
Text files modified: 
   trunk/libs/msm/doc/HTML/examples/AnonymousTutorial.cpp                  |    12 +                                       
   trunk/libs/msm/doc/HTML/examples/AnonymousTutorialEuml.cpp              |    12 +                                       
   trunk/libs/msm/doc/HTML/examples/AnonymousTutorialWithFunctors.cpp      |    10                                         
   trunk/libs/msm/doc/HTML/examples/BoostCon09Full.cpp                     |    10                                         
   trunk/libs/msm/doc/HTML/examples/CompilerStressTestEuml.cpp             |    10                                         
   trunk/libs/msm/doc/HTML/examples/CompositeTutorial.cpp                  |    12 +                                       
   trunk/libs/msm/doc/HTML/examples/CompositeTutorialEuml.cpp              |    10                                         
   trunk/libs/msm/doc/HTML/examples/DirectEntryEuml.cpp                    |   402 ++++++++++++++++++++------------------- 
   trunk/libs/msm/doc/HTML/examples/DirectEntryTutorial.cpp                |    10                                         
   trunk/libs/msm/doc/HTML/examples/EumlInternal.cpp                       |    14 +                                       
   trunk/libs/msm/doc/HTML/examples/EumlInternalDistributed.cpp            |    14 +                                       
   trunk/libs/msm/doc/HTML/examples/EumlSimple.cpp                         |    11                                         
   trunk/libs/msm/doc/HTML/examples/Flags.cpp                              |    10                                         
   trunk/libs/msm/doc/HTML/examples/History.cpp                            |    10                                         
   trunk/libs/msm/doc/HTML/examples/HistoryEuml.cpp                        |    14 +                                       
   trunk/libs/msm/doc/HTML/examples/MsmComposite.cpp                       |    11                                         
   trunk/libs/msm/doc/HTML/examples/MsmSimple.cpp                          |    11                                         
   trunk/libs/msm/doc/HTML/examples/MsmSimpleFunctors.cpp                  |    10                                         
   trunk/libs/msm/doc/HTML/examples/Orthogonal-deferred.cpp                |    10                                         
   trunk/libs/msm/doc/HTML/examples/Orthogonal-deferred2.cpp               |    10                                         
   trunk/libs/msm/doc/HTML/examples/OrthogonalDeferredEuml.cpp             |    14 +                                       
   trunk/libs/msm/doc/HTML/examples/OrthogonalDeferredEuml2.cpp            |    14 +                                       
   trunk/libs/msm/doc/HTML/examples/ParsingDigits.cpp                      |    12                                         
   trunk/libs/msm/doc/HTML/examples/SC                                     |    10                                         
   trunk/libs/msm/doc/HTML/examples/SC                                     |    10                                         
   trunk/libs/msm/doc/HTML/examples/SM-2Arg.cpp                            |    10                                         
   trunk/libs/msm/doc/HTML/examples/SimpleTimer.cpp                        |    12 +                                       
   trunk/libs/msm/doc/HTML/examples/SimpleTutorial.cpp                     |    16 +                                       
   trunk/libs/msm/doc/HTML/examples/SimpleTutorial2.cpp                    |    16 +                                       
   trunk/libs/msm/doc/HTML/examples/SimpleTutorialEuml.cpp                 |    14 +                                       
   trunk/libs/msm/doc/HTML/examples/SimpleTutorialEuml2.cpp                |    14 +                                       
   trunk/libs/msm/doc/HTML/examples/SimpleTutorialInternal.cpp             |    16 +                                       
   trunk/libs/msm/doc/HTML/examples/SimpleTutorialInternal2.cpp            |    16 +                                       
   trunk/libs/msm/doc/HTML/examples/SimpleTutorialInternalFunctors.cpp     |    14 +                                       
   trunk/libs/msm/doc/HTML/examples/SimpleWithFunctors.cpp                 |    18 +                                       
   trunk/libs/msm/doc/HTML/examples/SimpleWithFunctors2.cpp                |    18 +                                       
   trunk/libs/msm/doc/HTML/examples/SimpleWithFunctors3.cpp                |    18 +                                       
   trunk/libs/msm/doc/HTML/examples/TestInternal.cpp                       |    18 +                                       
   trunk/libs/msm/doc/HTML/examples/char_event_dispatcher.hpp              |    10                                         
   trunk/libs/msm/doc/HTML/examples/distributed_table/DistributedTable.cpp |    12 +                                       
   trunk/libs/msm/doc/HTML/examples/distributed_table/Empty.cpp            |    10                                         
   trunk/libs/msm/doc/HTML/examples/distributed_table/Empty.hpp            |    10                                         
   trunk/libs/msm/doc/HTML/examples/distributed_table/Events.hpp           |    10                                         
   trunk/libs/msm/doc/HTML/examples/distributed_table/Open.cpp             |    10                                         
   trunk/libs/msm/doc/HTML/examples/distributed_table/Open.hpp             |    10                                         
   trunk/libs/msm/doc/HTML/examples/iPodEuml.cpp                           |    10                                         
   trunk/libs/msm/doc/HTML/examples/iPodSearch.cpp                         |    10                                         
   trunk/libs/msm/doc/HTML/examples/iPodSearchEuml.cpp                     |    10                                         
   trunk/libs/msm/doc/HTML/examples/iPod_distributed/Events.hpp            |    18 +                                       
   trunk/libs/msm/doc/HTML/examples/iPod_distributed/MenuMode.cpp          |    10                                         
   trunk/libs/msm/doc/HTML/examples/iPod_distributed/MenuMode.hpp          |    74 ++++---                                 
   trunk/libs/msm/doc/HTML/examples/iPod_distributed/PlayingMode.cpp       |    10                                         
   trunk/libs/msm/doc/HTML/examples/iPod_distributed/PlayingMode.hpp       |   154 ++++++++-------                         
   trunk/libs/msm/doc/HTML/examples/iPod_distributed/iPod.cpp              |    12 +                                       
   trunk/libs/msm/doc/HTML/examples/ipod_functors.hpp                      |    12 +                                       
   trunk/libs/msm/doc/HTML/examples/logging_functors.h                     |    10                                         
   trunk/libs/msm/doc/PDF/examples/AnonymousTutorial.cpp                   |    12 +                                       
   trunk/libs/msm/doc/PDF/examples/AnonymousTutorialEuml.cpp               |    12 +                                       
   trunk/libs/msm/doc/PDF/examples/AnonymousTutorialWithFunctors.cpp       |    10                                         
   trunk/libs/msm/doc/PDF/examples/BoostCon09Full.cpp                      |    10                                         
   trunk/libs/msm/doc/PDF/examples/CompilerStressTestEuml.cpp              |    10                                         
   trunk/libs/msm/doc/PDF/examples/CompositeTutorial.cpp                   |    12 +                                       
   trunk/libs/msm/doc/PDF/examples/CompositeTutorialEuml.cpp               |    10                                         
   trunk/libs/msm/doc/PDF/examples/DirectEntryEuml.cpp                     |   402 ++++++++++++++++++++------------------- 
   trunk/libs/msm/doc/PDF/examples/DirectEntryTutorial.cpp                 |    10                                         
   trunk/libs/msm/doc/PDF/examples/EumlInternal.cpp                        |    14 +                                       
   trunk/libs/msm/doc/PDF/examples/EumlInternalDistributed.cpp             |    14 +                                       
   trunk/libs/msm/doc/PDF/examples/EumlSimple.cpp                          |    11                                         
   trunk/libs/msm/doc/PDF/examples/Flags.cpp                               |    10                                         
   trunk/libs/msm/doc/PDF/examples/History.cpp                             |    10                                         
   trunk/libs/msm/doc/PDF/examples/HistoryEuml.cpp                         |    14 +                                       
   trunk/libs/msm/doc/PDF/examples/MsmComposite.cpp                        |    11                                         
   trunk/libs/msm/doc/PDF/examples/MsmSimple.cpp                           |    11                                         
   trunk/libs/msm/doc/PDF/examples/MsmSimpleFunctors.cpp                   |    10                                         
   trunk/libs/msm/doc/PDF/examples/Orthogonal-deferred.cpp                 |    10                                         
   trunk/libs/msm/doc/PDF/examples/Orthogonal-deferred2.cpp                |    10                                         
   trunk/libs/msm/doc/PDF/examples/OrthogonalDeferredEuml.cpp              |    14 +                                       
   trunk/libs/msm/doc/PDF/examples/OrthogonalDeferredEuml2.cpp             |    14 +                                       
   trunk/libs/msm/doc/PDF/examples/ParsingDigits.cpp                       |    12                                         
   trunk/libs/msm/doc/PDF/examples/SC                                      |    10                                         
   trunk/libs/msm/doc/PDF/examples/SC                                      |    10                                         
   trunk/libs/msm/doc/PDF/examples/SM-2Arg.cpp                             |    10                                         
   trunk/libs/msm/doc/PDF/examples/SimpleTimer.cpp                         |    12 +                                       
   trunk/libs/msm/doc/PDF/examples/SimpleTutorial.cpp                      |    16 +                                       
   trunk/libs/msm/doc/PDF/examples/SimpleTutorial2.cpp                     |    16 +                                       
   trunk/libs/msm/doc/PDF/examples/SimpleTutorialEuml.cpp                  |    14 +                                       
   trunk/libs/msm/doc/PDF/examples/SimpleTutorialEuml2.cpp                 |    14 +                                       
   trunk/libs/msm/doc/PDF/examples/SimpleTutorialInternal.cpp              |    16 +                                       
   trunk/libs/msm/doc/PDF/examples/SimpleTutorialInternal2.cpp             |    16 +                                       
   trunk/libs/msm/doc/PDF/examples/SimpleTutorialInternalFunctors.cpp      |    14 +                                       
   trunk/libs/msm/doc/PDF/examples/SimpleWithFunctors.cpp                  |    18 +                                       
   trunk/libs/msm/doc/PDF/examples/SimpleWithFunctors2.cpp                 |    18 +                                       
   trunk/libs/msm/doc/PDF/examples/SimpleWithFunctors3.cpp                 |    18 +                                       
   trunk/libs/msm/doc/PDF/examples/TestInternal.cpp                        |    18 +                                       
   trunk/libs/msm/doc/PDF/examples/char_event_dispatcher.hpp               |    10                                         
   trunk/libs/msm/doc/PDF/examples/distributed_table/DistributedTable.cpp  |    12 +                                       
   trunk/libs/msm/doc/PDF/examples/distributed_table/Empty.cpp             |    10                                         
   trunk/libs/msm/doc/PDF/examples/distributed_table/Empty.hpp             |    10                                         
   trunk/libs/msm/doc/PDF/examples/distributed_table/Events.hpp            |    10                                         
   trunk/libs/msm/doc/PDF/examples/distributed_table/Open.cpp              |    10                                         
   trunk/libs/msm/doc/PDF/examples/distributed_table/Open.hpp              |    10                                         
   trunk/libs/msm/doc/PDF/examples/iPodEuml.cpp                            |    10                                         
   trunk/libs/msm/doc/PDF/examples/iPodSearch.cpp                          |    10                                         
   trunk/libs/msm/doc/PDF/examples/iPodSearchEuml.cpp                      |    10                                         
   trunk/libs/msm/doc/PDF/examples/iPod_distributed/Events.hpp             |    18 +                                       
   trunk/libs/msm/doc/PDF/examples/iPod_distributed/MenuMode.cpp           |    10                                         
   trunk/libs/msm/doc/PDF/examples/iPod_distributed/MenuMode.hpp           |    74 ++++---                                 
   trunk/libs/msm/doc/PDF/examples/iPod_distributed/PlayingMode.cpp        |    10                                         
   trunk/libs/msm/doc/PDF/examples/iPod_distributed/PlayingMode.hpp        |   154 ++++++++-------                         
   trunk/libs/msm/doc/PDF/examples/iPod_distributed/iPod.cpp               |    12 +                                       
   trunk/libs/msm/doc/PDF/examples/ipod_functors.hpp                       |    12 +                                       
   trunk/libs/msm/doc/PDF/examples/logging_functors.h                      |    10                                         
   112 files changed, 1824 insertions(+), 726 deletions(-)
Modified: trunk/libs/msm/doc/HTML/examples/AnonymousTutorial.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/AnonymousTutorial.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/AnonymousTutorial.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 // back-end
 #include <boost/msm/back/state_machine.hpp>
@@ -105,7 +115,7 @@
 
     void test()
     {        
-		my_machine p;
+        my_machine p;
 
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         // in this case it will also immediately trigger all anonymous transitions
Modified: trunk/libs/msm/doc/HTML/examples/AnonymousTutorialEuml.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/AnonymousTutorialEuml.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/AnonymousTutorialEuml.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 // back-end
 #include <boost/msm/back/state_machine.hpp>
@@ -148,7 +158,7 @@
 
     void test()
     {        
-		my_machine p;
+        my_machine p;
 
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         // in this case it will also immediately trigger all anonymous transitions
Modified: trunk/libs/msm/doc/HTML/examples/AnonymousTutorialWithFunctors.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/AnonymousTutorialWithFunctors.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/AnonymousTutorialWithFunctors.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 // back-end
 #include <boost/msm/back/state_machine.hpp>
Modified: trunk/libs/msm/doc/HTML/examples/BoostCon09Full.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/BoostCon09Full.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/BoostCon09Full.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 #include <boost/mpl/vector/vector50.hpp>
Modified: trunk/libs/msm/doc/HTML/examples/CompilerStressTestEuml.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/CompilerStressTestEuml.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/CompilerStressTestEuml.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <list>
 #include <set>
Modified: trunk/libs/msm/doc/HTML/examples/CompositeTutorial.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/CompositeTutorial.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/CompositeTutorial.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 // back-end
 #include <boost/msm/back/state_machine.hpp>
@@ -118,7 +128,7 @@
             }
         };
         // back-end
-    	typedef msm::back::state_machine<Playing_> Playing;
+        typedef msm::back::state_machine<Playing_> Playing;
 
 
         // state not defining any entry or exit
Modified: trunk/libs/msm/doc/HTML/examples/CompositeTutorialEuml.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/CompositeTutorialEuml.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/CompositeTutorialEuml.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 
Modified: trunk/libs/msm/doc/HTML/examples/DirectEntryEuml.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/DirectEntryEuml.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/DirectEntryEuml.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 
@@ -28,212 +38,212 @@
     event6_impl const event6;
 
     //Sub fsm state definition
-	BOOST_MSM_EUML_ACTION(SubState1_Entry)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "entering: SubFsm2::SubState1" << std::endl;
-		}
-	};
+    BOOST_MSM_EUML_ACTION(SubState1_Entry)
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "entering: SubFsm2::SubState1" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_ACTION(SubState1_Exit)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "leaving: SubFsm2::SubState1" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "leaving: SubFsm2::SubState1" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_STATE(( SubState1_Entry,SubState1_Exit ),SubState1)
 
     BOOST_MSM_EUML_ACTION(SubState1b_Entry)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "entering: SubFsm2::SubState1b" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "entering: SubFsm2::SubState1b" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_ACTION(SubState1b_Exit)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "leaving: SubFsm2::SubState1b" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "leaving: SubFsm2::SubState1b" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_STATE(( SubState1b_Entry,SubState1b_Exit ),SubState1b)
 
     BOOST_MSM_EUML_ACTION(SubState1c_Entry)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "entering: SubFsm2::SubState1c" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "entering: SubFsm2::SubState1c" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_ACTION(SubState1c_Exit)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "leaving: SubFsm2::SubState1c" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "leaving: SubFsm2::SubState1c" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_STATE(( SubState1c_Entry,SubState1c_Exit ),SubState1c)
 
     BOOST_MSM_EUML_ACTION(SubState2_Entry)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "entering: SubFsm2::SubState2" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "entering: SubFsm2::SubState2" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_ACTION(SubState2_Exit)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "leaving: SubFsm2::SubState2" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "leaving: SubFsm2::SubState2" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_EXPLICIT_ENTRY_STATE(0,( SubState2_Entry,SubState2_Exit ),SubState2)
 
     BOOST_MSM_EUML_ACTION(SubState2b_Entry)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "entering: SubFsm2::SubState2b" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "entering: SubFsm2::SubState2b" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_ACTION(SubState2b_Exit)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "leaving: SubFsm2::SubState2b" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "leaving: SubFsm2::SubState2b" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_EXPLICIT_ENTRY_STATE(1,( SubState2b_Entry,SubState2b_Exit ),SubState2b)
 
     BOOST_MSM_EUML_ACTION(SubState2c_Entry)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "entering: SubFsm2::SubState2c" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "entering: SubFsm2::SubState2c" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_ACTION(SubState2c_Exit)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "leaving: SubFsm2::SubState2c" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "leaving: SubFsm2::SubState2c" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_EXPLICIT_ENTRY_STATE(2,( SubState2c_Entry,SubState2c_Exit ),SubState2c)
 
     BOOST_MSM_EUML_ACTION(PseudoEntry1_Entry)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "entering: SubFsm2::PseudoEntry1" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "entering: SubFsm2::PseudoEntry1" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_ACTION(PseudoEntry1_Exit)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "leaving: SubFsm2::PseudoEntry1" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "leaving: SubFsm2::PseudoEntry1" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_ENTRY_STATE(0,( PseudoEntry1_Entry,PseudoEntry1_Exit ),PseudoEntry1)
 
     BOOST_MSM_EUML_ACTION(SubState3_Entry)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "entering: SubFsm2::SubState3" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "entering: SubFsm2::SubState3" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_ACTION(SubState3_Exit)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "leaving: SubFsm2::SubState3" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "leaving: SubFsm2::SubState3" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_STATE(( SubState3_Entry,SubState3_Exit ),SubState3)
 
     BOOST_MSM_EUML_ACTION(SubState3b_Entry)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "entering: SubFsm2::SubState3b" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "entering: SubFsm2::SubState3b" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_ACTION(SubState3b_Exit)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "leaving: SubFsm2::SubState3b" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "leaving: SubFsm2::SubState3b" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_STATE(( SubState3b_Entry,SubState3b_Exit ),SubState3b)
 
     BOOST_MSM_EUML_ACTION(PseudoExit1_Entry)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "entering: SubFsm2::PseudoExit1" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "entering: SubFsm2::PseudoExit1" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_ACTION(PseudoExit1_Exit)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "leaving: SubFsm2::PseudoExit1" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "leaving: SubFsm2::PseudoExit1" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_EXIT_STATE(( event6,PseudoExit1_Entry,PseudoExit1_Exit ),PseudoExit1)
 
     // actions
     BOOST_MSM_EUML_ACTION(entry_action)
-	{
-		template <class FSM,class EVT,class SourceState,class TargetState>
-		void operator()(FSM& ,EVT const& ,SourceState& ,TargetState& )
-		{
-			cout << "calling entry_action" << endl;
-		}
-	};
+    {
+        template <class FSM,class EVT,class SourceState,class TargetState>
+        void operator()(FSM& ,EVT const& ,SourceState& ,TargetState& )
+        {
+            cout << "calling entry_action" << endl;
+        }
+    };
     // SubFsm definition
     BOOST_MSM_EUML_ACTION(SubFsm2_Entry)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "entering: SubFsm2" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "entering: SubFsm2" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_ACTION(SubFsm2_Exit)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "leaving: SubFsm2" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "leaving: SubFsm2" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_TRANSITION_TABLE((
         //  +------------------------------------------------------------------------------+
             SubState3   == PseudoEntry1  + event4 / entry_action        ,
@@ -262,39 +272,39 @@
 
     // Fsm state definitions
     BOOST_MSM_EUML_ACTION(State1_Entry)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "entering: State1" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "entering: State1" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_ACTION(State1_Exit)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "leaving: State1" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "leaving: State1" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_STATE(( State1_Entry,State1_Exit ),State1)
 
     BOOST_MSM_EUML_ACTION(State2_Entry)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "entering: State2" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "entering: State2" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_ACTION(State2_Exit)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "leaving: State2" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "leaving: State2" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_STATE(( State2_Entry,State2_Exit ),State2)
 
     // Fsm definition
@@ -314,14 +324,14 @@
 
 
     BOOST_MSM_EUML_ACTION(Log_No_Transition)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const& e,FSM&,STATE& )
-		{
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const& e,FSM&,STATE& )
+        {
             std::cout << "no transition in Fsm"
                 << " on event " << typeid(e).name() << std::endl;
-		}
-	};
+        }
+    };
     BOOST_MSM_EUML_DECLARE_STATE_MACHINE(( transition_table, //STT
                                         init_ << State1, // Init State
                                         no_action, // Entry
Modified: trunk/libs/msm/doc/HTML/examples/DirectEntryTutorial.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/DirectEntryTutorial.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/DirectEntryTutorial.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 // back-end
Modified: trunk/libs/msm/doc/HTML/examples/EumlInternal.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/EumlInternal.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/EumlInternal.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 
@@ -106,7 +116,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
         // go to Open, call on_exit on Empty, then action, then on_entry on Open
@@ -121,7 +131,7 @@
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
         // no need to call play() as the previous event does it in its action method
-		//p.process_event(play);
+        //p.process_event(play);
 
         // at this point, Play is active      
         p.process_event(pause); pstate(p);
Modified: trunk/libs/msm/doc/HTML/examples/EumlInternalDistributed.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/EumlInternalDistributed.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/EumlInternalDistributed.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 
@@ -163,7 +173,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
         // go to Open, call on_exit on Empty, then action, then on_entry on Open
@@ -178,7 +188,7 @@
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
         // no need to call play as the previous event does it in its action method
-		//p.process_event(play);
+        //p.process_event(play);
         // at this point, Play is active      
         // make transition happen inside it. Player has no idea about this event but it's ok.
         p.process_event(next_song);pstate(p); //2nd song active
Modified: trunk/libs/msm/doc/HTML/examples/EumlSimple.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/EumlSimple.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/EumlSimple.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,5 +1,12 @@
-// MsmSimple.cpp : Defines the entry point for the console application.
-//
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
 
 #include "stdafx.h"
 
Modified: trunk/libs/msm/doc/HTML/examples/Flags.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/Flags.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/Flags.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 // back-end
 #include <boost/msm/back/state_machine.hpp>
Modified: trunk/libs/msm/doc/HTML/examples/History.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/History.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/History.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 // back-end
 #include <boost/msm/back/state_machine.hpp>
Modified: trunk/libs/msm/doc/HTML/examples/HistoryEuml.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/HistoryEuml.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/HistoryEuml.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 
 #include <boost/msm/back/state_machine.hpp>
@@ -129,7 +139,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
         // go to Open, call on_exit on Empty, then action, then on_entry on Open
@@ -141,7 +151,7 @@
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
         // no need to call play as the previous event does it in its action method
-		//p.process_event(play);
+        //p.process_event(play);
 
         // make transition happen inside it. Player has no idea about this event but it's ok.
         p.process_event(next_song);pstate(p); //2nd song active
Modified: trunk/libs/msm/doc/HTML/examples/MsmComposite.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/MsmComposite.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/MsmComposite.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,5 +1,12 @@
-// MsmSimple.cpp : Defines the entry point for the console application.
-//
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
 
 #include <boost/msm/back/state_machine.hpp>
 #include <boost/msm/front/state_machine_def.hpp>
Modified: trunk/libs/msm/doc/HTML/examples/MsmSimple.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/MsmSimple.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/MsmSimple.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,5 +1,12 @@
-// MsmSimple.cpp : Defines the entry point for the console application.
-//
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
 
 #include <boost/msm/back/state_machine.hpp>
 #include <boost/msm/front/state_machine_def.hpp>
Modified: trunk/libs/msm/doc/HTML/examples/MsmSimpleFunctors.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/MsmSimpleFunctors.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/MsmSimpleFunctors.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <boost/msm/back/state_machine.hpp>
 #include <boost/msm/front/state_machine_def.hpp>
 #include <boost/msm/front/functor_row.hpp>
Modified: trunk/libs/msm/doc/HTML/examples/Orthogonal-deferred.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/Orthogonal-deferred.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/Orthogonal-deferred.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 // back-end
 #include <boost/msm/back/state_machine.hpp>
Modified: trunk/libs/msm/doc/HTML/examples/Orthogonal-deferred2.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/Orthogonal-deferred2.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/Orthogonal-deferred2.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 // back-end
 #include <boost/msm/back/state_machine.hpp>
Modified: trunk/libs/msm/doc/HTML/examples/OrthogonalDeferredEuml.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/OrthogonalDeferredEuml.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/OrthogonalDeferredEuml.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 
@@ -178,7 +188,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
 
@@ -194,7 +204,7 @@
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
         // no need to call play as the previous event does it in its action method
-		//p.process_event(play);
+        //p.process_event(play);
 
         // at this point, Play is active 
         std::cout << "PlayingPaused active:" << std::boolalpha 
Modified: trunk/libs/msm/doc/HTML/examples/OrthogonalDeferredEuml2.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/OrthogonalDeferredEuml2.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/OrthogonalDeferredEuml2.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 
@@ -182,7 +192,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
 
@@ -198,7 +208,7 @@
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
         // no need to call play as the previous event does it in its action method
-		//p.process_event(play);
+        //p.process_event(play);
 
         // at this point, Play is active 
         p.process_event(pause); pstate(p);
Modified: trunk/libs/msm/doc/HTML/examples/ParsingDigits.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/ParsingDigits.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/ParsingDigits.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,5 +1,13 @@
-// MsmSimple.cpp : Defines the entry point for the console application.
-//
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #define FUSION_MAX_VECTOR_SIZE 20
 
 #include <boost/msm/back/state_machine.hpp>
Modified: trunk/libs/msm/doc/HTML/examples/SC Composite.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/SC Composite.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/SC Composite.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <boost/statechart/event.hpp>
 #include <boost/statechart/state_machine.hpp>
 #include <boost/statechart/simple_state.hpp>
Modified: trunk/libs/msm/doc/HTML/examples/SC Simple.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/SC Simple.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/SC Simple.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <boost/statechart/event.hpp>
 #include <boost/statechart/state_machine.hpp>
 #include <boost/statechart/simple_state.hpp>
Modified: trunk/libs/msm/doc/HTML/examples/SM-2Arg.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/SM-2Arg.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/SM-2Arg.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 #include <string>
 #include "boost/mpl/vector/vector30.hpp"
Modified: trunk/libs/msm/doc/HTML/examples/SimpleTimer.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/SimpleTimer.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/SimpleTimer.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 
@@ -125,7 +135,7 @@
 
     void test()
     {        
-		SimpleTimer p;
+        SimpleTimer p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start();
 
Modified: trunk/libs/msm/doc/HTML/examples/SimpleTutorial.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/SimpleTutorial.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/SimpleTutorial.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 // back-end
 #include <boost/msm/back/state_machine.hpp>
@@ -17,7 +27,7 @@
     struct open_close {};
 
     // A "complicated" event type that carries some data.
-	enum DiskTypeEnum
+    enum DiskTypeEnum
     {
         DISK_CD=0,
         DISK_DVD=1
@@ -158,7 +168,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
         // go to Open, call on_exit on Empty, then action, then on_entry on Open
@@ -169,7 +179,7 @@
             cd_detected("louie, louie",DISK_DVD)); pstate(p);
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
-		p.process_event(play());
+        p.process_event(play());
 
         // at this point, Play is active      
         p.process_event(pause()); pstate(p);
Modified: trunk/libs/msm/doc/HTML/examples/SimpleTutorial2.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/SimpleTutorial2.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/SimpleTutorial2.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 // back-end
 #include <boost/msm/back/state_machine.hpp>
@@ -19,7 +29,7 @@
     struct open_close {};
 
     // A "complicated" event type that carries some data.
-	enum DiskTypeEnum
+    enum DiskTypeEnum
     {
         DISK_CD=0,
         DISK_DVD=1
@@ -171,7 +181,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
         // go to Open, call on_exit on Empty, then action, then on_entry on Open
@@ -182,7 +192,7 @@
             cd_detected("louie, louie",DISK_DVD)); pstate(p);
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
-		p.process_event(play());
+        p.process_event(play());
 
         // at this point, Play is active      
         p.process_event(pause()); pstate(p);
Modified: trunk/libs/msm/doc/HTML/examples/SimpleTutorialEuml.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/SimpleTutorialEuml.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/SimpleTutorialEuml.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 
@@ -131,7 +141,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start();
         // note that we write open_close and not open_close(), like usual. Both are possible with eUML, but 
@@ -145,7 +155,7 @@
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
         // no need to call play as the previous event does it in its action method
-		//p.process_event(play);
+        //p.process_event(play);
 
         // at this point, Play is active      
         p.process_event(pause); pstate(p);
Modified: trunk/libs/msm/doc/HTML/examples/SimpleTutorialEuml2.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/SimpleTutorialEuml2.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/SimpleTutorialEuml2.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 
@@ -103,7 +113,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
         // go to Open, call on_exit on Empty, then action, then on_entry on Open
@@ -115,7 +125,7 @@
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
         // no need to call play as the previous event does it in its action method
-		//p.process_event(play);
+        //p.process_event(play);
 
         // at this point, Play is active      
         p.process_event(pause); pstate(p);
Modified: trunk/libs/msm/doc/HTML/examples/SimpleTutorialInternal.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/SimpleTutorialInternal.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/SimpleTutorialInternal.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 // back-end
 #include <boost/msm/back/state_machine.hpp>
@@ -20,7 +30,7 @@
     struct to_ignore {};
 
     // A "complicated" event type that carries some data.
-	enum DiskTypeEnum
+    enum DiskTypeEnum
     {
         DISK_CD=0,
         DISK_DVD=1
@@ -182,7 +192,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
         // this event will be ignored and not call no_transition
@@ -195,7 +205,7 @@
             cd_detected("louie, louie",DISK_DVD)); pstate(p);
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
-		p.process_event(play());
+        p.process_event(play());
 
         // at this point, Play is active      
         p.process_event(pause()); pstate(p);
Modified: trunk/libs/msm/doc/HTML/examples/SimpleTutorialInternal2.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/SimpleTutorialInternal2.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/SimpleTutorialInternal2.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 // back-end
 #include <boost/msm/back/state_machine.hpp>
@@ -18,7 +28,7 @@
     struct open_close {};
 
     // A "complicated" event type that carries some data.
-	enum DiskTypeEnum
+    enum DiskTypeEnum
     {
         DISK_CD=0,
         DISK_DVD=1
@@ -189,7 +199,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
         // go to Open, call on_exit on Empty, then action, then on_entry on Open
@@ -200,7 +210,7 @@
             cd_detected("louie, louie",DISK_DVD)); pstate(p);
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
-		p.process_event(play());
+        p.process_event(play());
 
         // at this point, Play is active      
         p.process_event(pause()); pstate(p);
Modified: trunk/libs/msm/doc/HTML/examples/SimpleTutorialInternalFunctors.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/SimpleTutorialInternalFunctors.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/SimpleTutorialInternalFunctors.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 // back-end
 #include <boost/msm/back/state_machine.hpp>
@@ -25,7 +35,7 @@
     struct open_close {};
 
     // A "complicated" event type that carries some data.
-	enum DiskTypeEnum
+    enum DiskTypeEnum
     {
         DISK_CD=0,
         DISK_DVD=1
@@ -282,7 +292,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
         // go to Open, call on_exit on Empty, then action, then on_entry on Open
Modified: trunk/libs/msm/doc/HTML/examples/SimpleWithFunctors.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/SimpleWithFunctors.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/SimpleWithFunctors.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 // back-end
@@ -27,7 +37,7 @@
     struct open_close {};
 
     // A "complicated" event type that carries some data.
-	enum DiskTypeEnum
+    enum DiskTypeEnum
     {
         DISK_CD=0,
         DISK_DVD=1
@@ -248,7 +258,7 @@
         }
     };
     // Pick a back-end
-	typedef msm::back::state_machine<player_> player;
+    typedef msm::back::state_machine<player_> player;
 
     //
     // Testing utilities.
@@ -261,7 +271,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
         // go to Open, call on_exit on Empty, then action, then on_entry on Open
@@ -273,7 +283,7 @@
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
         // no need to call play() as the previous event does it in its action method
-		//p.process_event(play());
+        //p.process_event(play());
 
         // at this point, Play is active      
         p.process_event(pause()); pstate(p);
Modified: trunk/libs/msm/doc/HTML/examples/SimpleWithFunctors2.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/SimpleWithFunctors2.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/SimpleWithFunctors2.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 // back-end
@@ -29,7 +39,7 @@
     struct open_close {};
 
     // A "complicated" event type that carries some data.
-	enum DiskTypeEnum
+    enum DiskTypeEnum
     {
         DISK_CD=0,
         DISK_DVD=1
@@ -264,7 +274,7 @@
         }
     };
     // Pick a back-end
-	typedef msm::back::state_machine<player_> player;
+    typedef msm::back::state_machine<player_> player;
 
     //
     // Testing utilities.
@@ -277,7 +287,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
         // go to Open, call on_exit on Empty, then action, then on_entry on Open
@@ -289,7 +299,7 @@
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
         // no need to call play() as the previous event does it in its action method
-		//p.process_event(play());
+        //p.process_event(play());
 
         // at this point, Play is active      
         p.process_event(pause()); pstate(p);
Modified: trunk/libs/msm/doc/HTML/examples/SimpleWithFunctors3.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/SimpleWithFunctors3.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/SimpleWithFunctors3.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 // back-end
@@ -29,7 +39,7 @@
     struct open_close {};
 
     // A "complicated" event type that carries some data.
-	enum DiskTypeEnum
+    enum DiskTypeEnum
     {
         DISK_CD=0,
         DISK_DVD=1
@@ -251,7 +261,7 @@
                                                 //Initial state
                                                 Empty> player_; 
     // Pick a back-end
-	typedef msm::back::state_machine<player_> player;
+    typedef msm::back::state_machine<player_> player;
 
     //
     // Testing utilities.
@@ -264,7 +274,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
         // go to Open, call on_exit on Empty, then action, then on_entry on Open
@@ -276,7 +286,7 @@
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
         // no need to call play() as the previous event does it in its action method
-		//p.process_event(play());
+        //p.process_event(play());
 
         // at this point, Play is active      
         p.process_event(pause()); pstate(p);
Modified: trunk/libs/msm/doc/HTML/examples/TestInternal.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/TestInternal.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/TestInternal.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 #include "boost/mpl/vector/vector30.hpp"
 
@@ -26,7 +36,7 @@
     struct to_ignore {};
 
     // A "complicated" event type that carries some data.
-	enum DiskTypeEnum
+    enum DiskTypeEnum
     {
         DISK_CD=0,
         DISK_DVD=1
@@ -288,7 +298,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
         // this event will be ignored and not call no_transition
@@ -301,10 +311,10 @@
             cd_detected("louie, louie",DISK_DVD)); pstate(p);
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
-		p.process_event(play());
+        p.process_event(play());
         p.process_event(NextSong());
         std::cout << "sending an internal event" << std::endl;
-		p.process_event(internal_event());
+        p.process_event(internal_event());
         std::cout << "conflict between the internal and normal transition. Internal is tried last" << std::endl;
         p.process_event(PreviousSong());
 
Modified: trunk/libs/msm/doc/HTML/examples/char_event_dispatcher.hpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/char_event_dispatcher.hpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/char_event_dispatcher.hpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #ifndef BOOST_MSM_CHAR_EVENT_DISPATCHER_HPP
 #define BOOST_MSM_CHAR_EVENT_DISPATCHER_HPP
 
Modified: trunk/libs/msm/doc/HTML/examples/distributed_table/DistributedTable.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/distributed_table/DistributedTable.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/distributed_table/DistributedTable.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 // back-end
@@ -48,7 +58,7 @@
 
 void test()
 {        
-	player p;
+    player p;
     // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
     p.start(); 
     // go to Open, call on_exit on Empty, then action, then on_entry on Open
Modified: trunk/libs/msm/doc/HTML/examples/distributed_table/Empty.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/distributed_table/Empty.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/distributed_table/Empty.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 #include "Empty.hpp"
 
Modified: trunk/libs/msm/doc/HTML/examples/distributed_table/Empty.hpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/distributed_table/Empty.hpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/distributed_table/Empty.hpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #ifndef EMPTY_HPP
 #define EMPTY_HPP
 
Modified: trunk/libs/msm/doc/HTML/examples/distributed_table/Events.hpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/distributed_table/Events.hpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/distributed_table/Events.hpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #ifndef EVENTS_HPP
 #define EVENTS_HPP
 
Modified: trunk/libs/msm/doc/HTML/examples/distributed_table/Open.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/distributed_table/Open.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/distributed_table/Open.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 #include "Open.hpp"
 
Modified: trunk/libs/msm/doc/HTML/examples/distributed_table/Open.hpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/distributed_table/Open.hpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/distributed_table/Open.hpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #ifndef OPEN_HPP
 #define OPEN_HPP
 
Modified: trunk/libs/msm/doc/HTML/examples/iPodEuml.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/iPodEuml.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/iPodEuml.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <set>
 #include <string>
Modified: trunk/libs/msm/doc/HTML/examples/iPodSearch.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/iPodSearch.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/iPodSearch.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <set>
 #include <string>
 #include <iostream>
Modified: trunk/libs/msm/doc/HTML/examples/iPodSearchEuml.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/iPodSearchEuml.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/iPodSearchEuml.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 // same as iPodSearch.cpp but using eUML
 // requires boost >= v1.40 because using mpl::string
 
Modified: trunk/libs/msm/doc/HTML/examples/iPod_distributed/Events.hpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/iPod_distributed/Events.hpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/iPod_distributed/Events.hpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #ifndef EVENTS_HPP
 #define EVENTS_HPP
 
@@ -19,8 +29,8 @@
 struct EndPlay {};
 struct CloseMenu 
 {
-	template<class EVENT>
-	CloseMenu(EVENT const &) {}
+    template<class EVENT>
+    CloseMenu(EVENT const &) {}
 };
 struct OnOffTimer {};
 struct MenuMiddleButton {};
@@ -28,8 +38,8 @@
 struct SongFinished {};
 struct StartSong 
 {
-	StartSong (int song_index):m_Selected(song_index){}
-	int m_Selected;
+    StartSong (int song_index):m_Selected(song_index){}
+    int m_Selected;
 };
 struct PreviousSong{};
 struct NextSong{};
Modified: trunk/libs/msm/doc/HTML/examples/iPod_distributed/MenuMode.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/iPod_distributed/MenuMode.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/iPod_distributed/MenuMode.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,2 +1,12 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include "MenuMode.hpp"
 BOOST_MSM_BACK_GENERATE_PROCESS_EVENT(MenuMode)
Modified: trunk/libs/msm/doc/HTML/examples/iPod_distributed/MenuMode.hpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/iPod_distributed/MenuMode.hpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/iPod_distributed/MenuMode.hpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #ifndef MENU_MODE_HPP
 #define MENU_MODE_HPP
 
@@ -14,38 +24,38 @@
 
 struct MenuMode_ : public msm::front::state_machine_def<MenuMode_>
 {
-	typedef mpl::vector1<MenuActive>		flag_list;
-	struct WaitingForSongChoice : public msm::front::state<>
-	{
-		template <class Event,class FSM>
-		void on_entry(Event const&,FSM& ) {std::cout << "starting: MenuMode::WaitingForSongChoice" << std::endl;}
-		template <class Event,class FSM>
-		void on_exit(Event const&,FSM& ) {std::cout << "finishing: MenuMode::WaitingForSongChoice" << std::endl;}
-	};
-	struct StartCurrentSong : public msm::front::state<>
-	{
-		template <class Event,class FSM>
-		void on_entry(Event const&,FSM& ) {std::cout << "starting: MenuMode::StartCurrentSong" << std::endl;}
-		template <class Event,class FSM>
-		void on_exit(Event const&,FSM& ) {std::cout << "finishing: MenuMode::StartCurrentSong" << std::endl;}
-	};
-	struct MenuExit : public msm::front::exit_pseudo_state<CloseMenu>
-	{
-		template <class Event,class FSM>
-		void on_entry(Event const&,FSM& ) {std::cout << "starting: MenuMode::WaitingForSongChoice" << std::endl;}
-		template <class Event,class FSM>
-		void on_exit(Event const&,FSM& ) {std::cout << "finishing: MenuMode::WaitingForSongChoice" << std::endl;}
-	};
-	typedef WaitingForSongChoice initial_state;
-	typedef MenuMode_ fsm; // makes transition table cleaner
-	// Transition table for player
-	struct transition_table : mpl::vector2<
-		//     Start                 Event           Next                Action				   Guard
-		//    +---------------------+------------------+-------------------+---------------------+----------------------+
-		_row < WaitingForSongChoice , MenuMiddleButton , StartCurrentSong                                               >,
-		_row < StartCurrentSong     , SelectSong       , MenuExit                                                       >
-		//    +---------------------+------------------+-------------------+---------------------+----------------------+
-	> {};
+    typedef mpl::vector1<MenuActive>		flag_list;
+    struct WaitingForSongChoice : public msm::front::state<>
+    {
+        template <class Event,class FSM>
+        void on_entry(Event const&,FSM& ) {std::cout << "starting: MenuMode::WaitingForSongChoice" << std::endl;}
+        template <class Event,class FSM>
+        void on_exit(Event const&,FSM& ) {std::cout << "finishing: MenuMode::WaitingForSongChoice" << std::endl;}
+    };
+    struct StartCurrentSong : public msm::front::state<>
+    {
+        template <class Event,class FSM>
+        void on_entry(Event const&,FSM& ) {std::cout << "starting: MenuMode::StartCurrentSong" << std::endl;}
+        template <class Event,class FSM>
+        void on_exit(Event const&,FSM& ) {std::cout << "finishing: MenuMode::StartCurrentSong" << std::endl;}
+    };
+    struct MenuExit : public msm::front::exit_pseudo_state<CloseMenu>
+    {
+        template <class Event,class FSM>
+        void on_entry(Event const&,FSM& ) {std::cout << "starting: MenuMode::WaitingForSongChoice" << std::endl;}
+        template <class Event,class FSM>
+        void on_exit(Event const&,FSM& ) {std::cout << "finishing: MenuMode::WaitingForSongChoice" << std::endl;}
+    };
+    typedef WaitingForSongChoice initial_state;
+    typedef MenuMode_ fsm; // makes transition table cleaner
+    // Transition table for player
+    struct transition_table : mpl::vector2<
+        //     Start                 Event           Next                Action				   Guard
+        //    +---------------------+------------------+-------------------+---------------------+----------------------+
+        _row < WaitingForSongChoice , MenuMiddleButton , StartCurrentSong                                               >,
+        _row < StartCurrentSong     , SelectSong       , MenuExit                                                       >
+        //    +---------------------+------------------+-------------------+---------------------+----------------------+
+    > {};
 };
 typedef msm::back::state_machine<MenuMode_> MenuMode;
 
Modified: trunk/libs/msm/doc/HTML/examples/iPod_distributed/PlayingMode.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/iPod_distributed/PlayingMode.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/iPod_distributed/PlayingMode.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,2 +1,12 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include "PlayingMode.hpp"
 BOOST_MSM_BACK_GENERATE_PROCESS_EVENT(PlayingMode)
Modified: trunk/libs/msm/doc/HTML/examples/iPod_distributed/PlayingMode.hpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/iPod_distributed/PlayingMode.hpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/iPod_distributed/PlayingMode.hpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #ifndef PLAYING_MODE_HPP
 #define PLAYING_MODE_HPP
 
@@ -121,23 +131,23 @@
         void on_exit(Event const&,FSM& ) {std::cout << "finishing: PlayingMode::PlayingExit" << std::endl;}
     };
     // transition action methods
-	struct inc_song_counter : euml::euml_action<inc_song_counter>
-	{
-		template <class FSM,class EVT,class SourceState,class TargetState>
-		void operator()(EVT const& ,FSM& fsm,SourceState& ,TargetState& )
-		{
-			if (++fsm.m_SongIndex <= fsm.m_NumberOfSongs )
-			{
-				std::cout << "playing song:" << fsm.m_SongIndex << std::endl;
-			}
-			else
-			{
-				// last song => end playing, next play will start at the beginning
-				fsm.m_SongIndex = 1;
-				fsm.process_event(EndPlay());
-			}
-		}
-	};
+    struct inc_song_counter : euml::euml_action<inc_song_counter>
+    {
+        template <class FSM,class EVT,class SourceState,class TargetState>
+        void operator()(EVT const& ,FSM& fsm,SourceState& ,TargetState& )
+        {
+            if (++fsm.m_SongIndex <= fsm.m_NumberOfSongs )
+            {
+                std::cout << "playing song:" << fsm.m_SongIndex << std::endl;
+            }
+            else
+            {
+                // last song => end playing, next play will start at the beginning
+                fsm.m_SongIndex = 1;
+                fsm.process_event(EndPlay());
+            }
+        }
+    };
  
     void select_song(StartSong const& evt)
     {
@@ -152,31 +162,31 @@
             std::cout << "selecting song:" << m_SongIndex << std::endl;
         }
     }
-	struct dec_song_counter : euml::euml_action<dec_song_counter>
-	{
-		template <class FSM,class EVT,class SourceState,class TargetState>
-		void operator()(EVT const& ,FSM& fsm,SourceState& ,TargetState& )
-		{
-			if (--fsm.m_SongIndex >0 )
-			{
-				std::cout << "playing song:" << fsm.m_SongIndex << std::endl;
-			}
-			else
-			{
-				// before first song => end playing
-				fsm.m_SongIndex = 1;
-				fsm.process_event(EndPlay());
-			}
-		}
-	};
-	struct send_NextSong : euml::euml_action<send_NextSong>
-	{
-		template <class FSM,class EVT,class SourceState,class TargetState>
-		void operator()(EVT const& ,FSM& fsm,SourceState& ,TargetState& )
-		{
-			fsm.process_event(NextSong());
-		}
-	};
+    struct dec_song_counter : euml::euml_action<dec_song_counter>
+    {
+        template <class FSM,class EVT,class SourceState,class TargetState>
+        void operator()(EVT const& ,FSM& fsm,SourceState& ,TargetState& )
+        {
+            if (--fsm.m_SongIndex >0 )
+            {
+                std::cout << "playing song:" << fsm.m_SongIndex << std::endl;
+            }
+            else
+            {
+                // before first song => end playing
+                fsm.m_SongIndex = 1;
+                fsm.process_event(EndPlay());
+            }
+        }
+    };
+    struct send_NextSong : euml::euml_action<send_NextSong>
+    {
+        template <class FSM,class EVT,class SourceState,class TargetState>
+        void operator()(EVT const& ,FSM& fsm,SourceState& ,TargetState& )
+        {
+            fsm.process_event(NextSong());
+        }
+    };
 
     void do_fast_forward(ForwardTimer const&)
     {
@@ -184,47 +194,47 @@
     }
 
     // transition guard methods
-	struct fast_fwd_ok : euml::euml_action<fast_fwd_ok>
-	{
-		template <class FSM,class EVT,class SourceState,class TargetState>
-		bool operator()(EVT const& ,FSM& fsm,SourceState& ,TargetState& )
-		{
-			// guard accepts only if fast forward is possible (No SetPosition mode) 
-			return !fsm.is_flag_active<NoFastFwd>();
-		}
-	};
+    struct fast_fwd_ok : euml::euml_action<fast_fwd_ok>
+    {
+        template <class FSM,class EVT,class SourceState,class TargetState>
+        bool operator()(EVT const& ,FSM& fsm,SourceState& ,TargetState& )
+        {
+            // guard accepts only if fast forward is possible (No SetPosition mode) 
+            return !fsm.is_flag_active<NoFastFwd>();
+        }
+    };
     // initial states / orthogonal zones
     typedef mpl::vector5<Playing,WaitingForNextPrev,WaitingForEnd,NoForward,StdDisplay> 
                             initial_state;
     typedef PlayingMode_ fsm; // makes transition table cleaner
     // Transition table for player
     struct transition_table : mpl::vector19<
-			//    Start                 Event                Next                 Action				      Guard
-			//   +--------------------+---------------------+--------------------+--------------------------+----------------------+
-			_row < Playing            , PlayPause           , Paused                                                               >,
-			_row < Playing            , Off                 , Paused                                                               >,
-		   a_row < Playing            , StartSong           , Playing            , &fsm::select_song                               >,
-			_row < Paused             , PlayPause           , Playing                                                              >,
+            //    Start                 Event                Next                 Action				      Guard
+            //   +--------------------+---------------------+--------------------+--------------------------+----------------------+
+            _row < Playing            , PlayPause           , Paused                                                               >,
+            _row < Playing            , Off                 , Paused                                                               >,
+           a_row < Playing            , StartSong           , Playing            , &fsm::select_song                               >,
+            _row < Paused             , PlayPause           , Playing                                                              >,
  msm::front::Row < Playing            , SongFinished        , Playing            , inc_song_counter         , msm::front::none     >,
-		   a_row < Paused             , StartSong           , Playing            , &fsm::select_song                               >,
-			//   +--------------------+---------------------+--------------------+--------------------------+----------------------+
+           a_row < Paused             , StartSong           , Playing            , &fsm::select_song                               >,
+            //   +--------------------+---------------------+--------------------+--------------------------+----------------------+
  msm::front::Row < WaitingForNextPrev , PreviousSong        , WaitingForNextPrev , dec_song_counter         , msm::front::none     >,
  msm::front::Row < WaitingForNextPrev , NextSong            , WaitingForNextPrev , inc_song_counter         , msm::front::none     >,
-			//   +--------------------+---------------------+--------------------+--------------------------+----------------------+
-			_row < WaitingForEnd      , EndPlay             , PlayingExit                                                          >,
-			//   +--------------------+---------------------+--------------------+--------------------------+----------------------+
+            //   +--------------------+---------------------+--------------------+--------------------------+----------------------+
+            _row < WaitingForEnd      , EndPlay             , PlayingExit                                                          >,
+            //   +--------------------+---------------------+--------------------+--------------------------+----------------------+
  msm::front::Row < NoForward          , EastPressed         , ForwardPressed      , msm::front::none        , fast_fwd_ok		   >,
  msm::front::Row < ForwardPressed     , EastReleased        , NoForward           , send_NextSong           , msm::front::none     >,
-		   a_row < ForwardPressed     , ForwardTimer        , FastForward         , &fsm::do_fast_forward                          >,
-		   a_row < FastForward        , ForwardTimer        , FastForward         , &fsm::do_fast_forward                          >,
-			_row < FastForward        , EastReleased        , NoForward                                                            >,
-			//   +--------------------+---------------------+---------------------+--------------------------+----------------------+
-			_row < StdDisplay         , PlayingMiddleButton , SetPosition                                                          >,
-			_row < SetPosition        , StartSong           , StdDisplay                                                           >,
-			_row < SetPosition        , PlayingMiddleButton , SetMark                                                              >,
-			_row < SetMark            , PlayingMiddleButton , StdDisplay                                                           >,
-			_row < SetMark            , StartSong           , StdDisplay                                                           >
-			//   +--------------------+---------------------+---------------------+--------------------------+----------------------+
+           a_row < ForwardPressed     , ForwardTimer        , FastForward         , &fsm::do_fast_forward                          >,
+           a_row < FastForward        , ForwardTimer        , FastForward         , &fsm::do_fast_forward                          >,
+            _row < FastForward        , EastReleased        , NoForward                                                            >,
+            //   +--------------------+---------------------+---------------------+--------------------------+----------------------+
+            _row < StdDisplay         , PlayingMiddleButton , SetPosition                                                          >,
+            _row < SetPosition        , StartSong           , StdDisplay                                                           >,
+            _row < SetPosition        , PlayingMiddleButton , SetMark                                                              >,
+            _row < SetMark            , PlayingMiddleButton , StdDisplay                                                           >,
+            _row < SetMark            , StartSong           , StdDisplay                                                           >
+            //   +--------------------+---------------------+---------------------+--------------------------+----------------------+
     > {};
     PlayingMode_():
     m_SongIndex(1),
Modified: trunk/libs/msm/doc/HTML/examples/iPod_distributed/iPod.cpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/iPod_distributed/iPod.cpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/iPod_distributed/iPod.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <set>
 #include <string>
@@ -89,7 +99,7 @@
         // transition actions
         void send_ActivateMenu(EndPlay const&)
         {
-			std::cout << "leaving Playing" << std::endl;
+            std::cout << "leaving Playing" << std::endl;
             // we need to activate the menu and simulate its button
             (static_cast<iPod*>(this))->process_event(MenuButton());
         }
Modified: trunk/libs/msm/doc/HTML/examples/ipod_functors.hpp
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/ipod_functors.hpp	(original)
+++ trunk/libs/msm/doc/HTML/examples/ipod_functors.hpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #ifndef IPOD_FUNCTORS_HPP
 #define IPOD_FUNCTORS_HPP
 #include <boost/msm/front/euml/euml.hpp>
@@ -235,4 +245,4 @@
         std::cout << "turning player on" << std::endl;
     }
 };
-#endif
\ No newline at end of file
+#endif
Modified: trunk/libs/msm/doc/HTML/examples/logging_functors.h
==============================================================================
--- trunk/libs/msm/doc/HTML/examples/logging_functors.h	(original)
+++ trunk/libs/msm/doc/HTML/examples/logging_functors.h	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #ifndef LOGGING_FUNCTORS
 #define LOGGING_FUNCTORS
 
Modified: trunk/libs/msm/doc/PDF/examples/AnonymousTutorial.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/AnonymousTutorial.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/AnonymousTutorial.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 // back-end
 #include <boost/msm/back/state_machine.hpp>
@@ -105,7 +115,7 @@
 
     void test()
     {        
-		my_machine p;
+        my_machine p;
 
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         // in this case it will also immediately trigger all anonymous transitions
Modified: trunk/libs/msm/doc/PDF/examples/AnonymousTutorialEuml.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/AnonymousTutorialEuml.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/AnonymousTutorialEuml.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 // back-end
 #include <boost/msm/back/state_machine.hpp>
@@ -148,7 +158,7 @@
 
     void test()
     {        
-		my_machine p;
+        my_machine p;
 
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         // in this case it will also immediately trigger all anonymous transitions
Modified: trunk/libs/msm/doc/PDF/examples/AnonymousTutorialWithFunctors.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/AnonymousTutorialWithFunctors.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/AnonymousTutorialWithFunctors.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 // back-end
 #include <boost/msm/back/state_machine.hpp>
Modified: trunk/libs/msm/doc/PDF/examples/BoostCon09Full.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/BoostCon09Full.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/BoostCon09Full.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 #include <boost/mpl/vector/vector50.hpp>
Modified: trunk/libs/msm/doc/PDF/examples/CompilerStressTestEuml.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/CompilerStressTestEuml.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/CompilerStressTestEuml.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <list>
 #include <set>
Modified: trunk/libs/msm/doc/PDF/examples/CompositeTutorial.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/CompositeTutorial.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/CompositeTutorial.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 // back-end
 #include <boost/msm/back/state_machine.hpp>
@@ -118,7 +128,7 @@
             }
         };
         // back-end
-    	typedef msm::back::state_machine<Playing_> Playing;
+        typedef msm::back::state_machine<Playing_> Playing;
 
 
         // state not defining any entry or exit
Modified: trunk/libs/msm/doc/PDF/examples/CompositeTutorialEuml.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/CompositeTutorialEuml.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/CompositeTutorialEuml.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 
Modified: trunk/libs/msm/doc/PDF/examples/DirectEntryEuml.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/DirectEntryEuml.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/DirectEntryEuml.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 
@@ -28,212 +38,212 @@
     event6_impl const event6;
 
     //Sub fsm state definition
-	BOOST_MSM_EUML_ACTION(SubState1_Entry)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "entering: SubFsm2::SubState1" << std::endl;
-		}
-	};
+    BOOST_MSM_EUML_ACTION(SubState1_Entry)
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "entering: SubFsm2::SubState1" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_ACTION(SubState1_Exit)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "leaving: SubFsm2::SubState1" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "leaving: SubFsm2::SubState1" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_STATE(( SubState1_Entry,SubState1_Exit ),SubState1)
 
     BOOST_MSM_EUML_ACTION(SubState1b_Entry)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "entering: SubFsm2::SubState1b" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "entering: SubFsm2::SubState1b" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_ACTION(SubState1b_Exit)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "leaving: SubFsm2::SubState1b" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "leaving: SubFsm2::SubState1b" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_STATE(( SubState1b_Entry,SubState1b_Exit ),SubState1b)
 
     BOOST_MSM_EUML_ACTION(SubState1c_Entry)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "entering: SubFsm2::SubState1c" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "entering: SubFsm2::SubState1c" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_ACTION(SubState1c_Exit)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "leaving: SubFsm2::SubState1c" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "leaving: SubFsm2::SubState1c" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_STATE(( SubState1c_Entry,SubState1c_Exit ),SubState1c)
 
     BOOST_MSM_EUML_ACTION(SubState2_Entry)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "entering: SubFsm2::SubState2" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "entering: SubFsm2::SubState2" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_ACTION(SubState2_Exit)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "leaving: SubFsm2::SubState2" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "leaving: SubFsm2::SubState2" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_EXPLICIT_ENTRY_STATE(0,( SubState2_Entry,SubState2_Exit ),SubState2)
 
     BOOST_MSM_EUML_ACTION(SubState2b_Entry)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "entering: SubFsm2::SubState2b" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "entering: SubFsm2::SubState2b" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_ACTION(SubState2b_Exit)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "leaving: SubFsm2::SubState2b" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "leaving: SubFsm2::SubState2b" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_EXPLICIT_ENTRY_STATE(1,( SubState2b_Entry,SubState2b_Exit ),SubState2b)
 
     BOOST_MSM_EUML_ACTION(SubState2c_Entry)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "entering: SubFsm2::SubState2c" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "entering: SubFsm2::SubState2c" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_ACTION(SubState2c_Exit)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "leaving: SubFsm2::SubState2c" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "leaving: SubFsm2::SubState2c" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_EXPLICIT_ENTRY_STATE(2,( SubState2c_Entry,SubState2c_Exit ),SubState2c)
 
     BOOST_MSM_EUML_ACTION(PseudoEntry1_Entry)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "entering: SubFsm2::PseudoEntry1" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "entering: SubFsm2::PseudoEntry1" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_ACTION(PseudoEntry1_Exit)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "leaving: SubFsm2::PseudoEntry1" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "leaving: SubFsm2::PseudoEntry1" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_ENTRY_STATE(0,( PseudoEntry1_Entry,PseudoEntry1_Exit ),PseudoEntry1)
 
     BOOST_MSM_EUML_ACTION(SubState3_Entry)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "entering: SubFsm2::SubState3" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "entering: SubFsm2::SubState3" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_ACTION(SubState3_Exit)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "leaving: SubFsm2::SubState3" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "leaving: SubFsm2::SubState3" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_STATE(( SubState3_Entry,SubState3_Exit ),SubState3)
 
     BOOST_MSM_EUML_ACTION(SubState3b_Entry)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "entering: SubFsm2::SubState3b" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "entering: SubFsm2::SubState3b" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_ACTION(SubState3b_Exit)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "leaving: SubFsm2::SubState3b" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "leaving: SubFsm2::SubState3b" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_STATE(( SubState3b_Entry,SubState3b_Exit ),SubState3b)
 
     BOOST_MSM_EUML_ACTION(PseudoExit1_Entry)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "entering: SubFsm2::PseudoExit1" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "entering: SubFsm2::PseudoExit1" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_ACTION(PseudoExit1_Exit)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "leaving: SubFsm2::PseudoExit1" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "leaving: SubFsm2::PseudoExit1" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_EXIT_STATE(( event6,PseudoExit1_Entry,PseudoExit1_Exit ),PseudoExit1)
 
     // actions
     BOOST_MSM_EUML_ACTION(entry_action)
-	{
-		template <class FSM,class EVT,class SourceState,class TargetState>
-		void operator()(FSM& ,EVT const& ,SourceState& ,TargetState& )
-		{
-			cout << "calling entry_action" << endl;
-		}
-	};
+    {
+        template <class FSM,class EVT,class SourceState,class TargetState>
+        void operator()(FSM& ,EVT const& ,SourceState& ,TargetState& )
+        {
+            cout << "calling entry_action" << endl;
+        }
+    };
     // SubFsm definition
     BOOST_MSM_EUML_ACTION(SubFsm2_Entry)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "entering: SubFsm2" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "entering: SubFsm2" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_ACTION(SubFsm2_Exit)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "leaving: SubFsm2" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "leaving: SubFsm2" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_TRANSITION_TABLE((
         //  +------------------------------------------------------------------------------+
             SubState3   == PseudoEntry1  + event4 / entry_action        ,
@@ -262,39 +272,39 @@
 
     // Fsm state definitions
     BOOST_MSM_EUML_ACTION(State1_Entry)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "entering: State1" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "entering: State1" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_ACTION(State1_Exit)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "leaving: State1" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "leaving: State1" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_STATE(( State1_Entry,State1_Exit ),State1)
 
     BOOST_MSM_EUML_ACTION(State2_Entry)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "entering: State2" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "entering: State2" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_ACTION(State2_Exit)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const&,FSM&,STATE& )
-		{
-			std::cout << "leaving: State2" << std::endl;
-		}
-	};
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const&,FSM&,STATE& )
+        {
+            std::cout << "leaving: State2" << std::endl;
+        }
+    };
     BOOST_MSM_EUML_STATE(( State2_Entry,State2_Exit ),State2)
 
     // Fsm definition
@@ -314,14 +324,14 @@
 
 
     BOOST_MSM_EUML_ACTION(Log_No_Transition)
-	{
-		template <class Event,class FSM,class STATE>
-		void operator()(Event const& e,FSM&,STATE& )
-		{
+    {
+        template <class Event,class FSM,class STATE>
+        void operator()(Event const& e,FSM&,STATE& )
+        {
             std::cout << "no transition in Fsm"
                 << " on event " << typeid(e).name() << std::endl;
-		}
-	};
+        }
+    };
     BOOST_MSM_EUML_DECLARE_STATE_MACHINE(( transition_table, //STT
                                         init_ << State1, // Init State
                                         no_action, // Entry
Modified: trunk/libs/msm/doc/PDF/examples/DirectEntryTutorial.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/DirectEntryTutorial.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/DirectEntryTutorial.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 // back-end
Modified: trunk/libs/msm/doc/PDF/examples/EumlInternal.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/EumlInternal.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/EumlInternal.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 
@@ -106,7 +116,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
         // go to Open, call on_exit on Empty, then action, then on_entry on Open
@@ -121,7 +131,7 @@
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
         // no need to call play() as the previous event does it in its action method
-		//p.process_event(play);
+        //p.process_event(play);
 
         // at this point, Play is active      
         p.process_event(pause); pstate(p);
Modified: trunk/libs/msm/doc/PDF/examples/EumlInternalDistributed.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/EumlInternalDistributed.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/EumlInternalDistributed.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 
@@ -163,7 +173,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
         // go to Open, call on_exit on Empty, then action, then on_entry on Open
@@ -178,7 +188,7 @@
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
         // no need to call play as the previous event does it in its action method
-		//p.process_event(play);
+        //p.process_event(play);
         // at this point, Play is active      
         // make transition happen inside it. Player has no idea about this event but it's ok.
         p.process_event(next_song);pstate(p); //2nd song active
Modified: trunk/libs/msm/doc/PDF/examples/EumlSimple.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/EumlSimple.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/EumlSimple.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,5 +1,12 @@
-// MsmSimple.cpp : Defines the entry point for the console application.
-//
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
 
 #include "stdafx.h"
 
Modified: trunk/libs/msm/doc/PDF/examples/Flags.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/Flags.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/Flags.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 // back-end
 #include <boost/msm/back/state_machine.hpp>
Modified: trunk/libs/msm/doc/PDF/examples/History.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/History.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/History.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 // back-end
 #include <boost/msm/back/state_machine.hpp>
Modified: trunk/libs/msm/doc/PDF/examples/HistoryEuml.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/HistoryEuml.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/HistoryEuml.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 
 #include <boost/msm/back/state_machine.hpp>
@@ -129,7 +139,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
         // go to Open, call on_exit on Empty, then action, then on_entry on Open
@@ -141,7 +151,7 @@
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
         // no need to call play as the previous event does it in its action method
-		//p.process_event(play);
+        //p.process_event(play);
 
         // make transition happen inside it. Player has no idea about this event but it's ok.
         p.process_event(next_song);pstate(p); //2nd song active
Modified: trunk/libs/msm/doc/PDF/examples/MsmComposite.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/MsmComposite.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/MsmComposite.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,5 +1,12 @@
-// MsmSimple.cpp : Defines the entry point for the console application.
-//
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
 
 #include <boost/msm/back/state_machine.hpp>
 #include <boost/msm/front/state_machine_def.hpp>
Modified: trunk/libs/msm/doc/PDF/examples/MsmSimple.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/MsmSimple.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/MsmSimple.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,5 +1,12 @@
-// MsmSimple.cpp : Defines the entry point for the console application.
-//
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
 
 #include <boost/msm/back/state_machine.hpp>
 #include <boost/msm/front/state_machine_def.hpp>
Modified: trunk/libs/msm/doc/PDF/examples/MsmSimpleFunctors.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/MsmSimpleFunctors.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/MsmSimpleFunctors.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <boost/msm/back/state_machine.hpp>
 #include <boost/msm/front/state_machine_def.hpp>
 #include <boost/msm/front/functor_row.hpp>
Modified: trunk/libs/msm/doc/PDF/examples/Orthogonal-deferred.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/Orthogonal-deferred.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/Orthogonal-deferred.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 // back-end
 #include <boost/msm/back/state_machine.hpp>
Modified: trunk/libs/msm/doc/PDF/examples/Orthogonal-deferred2.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/Orthogonal-deferred2.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/Orthogonal-deferred2.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 // back-end
 #include <boost/msm/back/state_machine.hpp>
Modified: trunk/libs/msm/doc/PDF/examples/OrthogonalDeferredEuml.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/OrthogonalDeferredEuml.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/OrthogonalDeferredEuml.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 
@@ -178,7 +188,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
 
@@ -194,7 +204,7 @@
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
         // no need to call play as the previous event does it in its action method
-		//p.process_event(play);
+        //p.process_event(play);
 
         // at this point, Play is active 
         std::cout << "PlayingPaused active:" << std::boolalpha 
Modified: trunk/libs/msm/doc/PDF/examples/OrthogonalDeferredEuml2.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/OrthogonalDeferredEuml2.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/OrthogonalDeferredEuml2.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 
@@ -182,7 +192,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
 
@@ -198,7 +208,7 @@
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
         // no need to call play as the previous event does it in its action method
-		//p.process_event(play);
+        //p.process_event(play);
 
         // at this point, Play is active 
         p.process_event(pause); pstate(p);
Modified: trunk/libs/msm/doc/PDF/examples/ParsingDigits.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/ParsingDigits.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/ParsingDigits.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,5 +1,13 @@
-// MsmSimple.cpp : Defines the entry point for the console application.
-//
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #define FUSION_MAX_VECTOR_SIZE 20
 
 #include <boost/msm/back/state_machine.hpp>
Modified: trunk/libs/msm/doc/PDF/examples/SC Composite.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/SC Composite.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/SC Composite.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <boost/statechart/event.hpp>
 #include <boost/statechart/state_machine.hpp>
 #include <boost/statechart/simple_state.hpp>
Modified: trunk/libs/msm/doc/PDF/examples/SC Simple.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/SC Simple.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/SC Simple.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <boost/statechart/event.hpp>
 #include <boost/statechart/state_machine.hpp>
 #include <boost/statechart/simple_state.hpp>
Modified: trunk/libs/msm/doc/PDF/examples/SM-2Arg.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/SM-2Arg.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/SM-2Arg.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 #include <string>
 #include "boost/mpl/vector/vector30.hpp"
Modified: trunk/libs/msm/doc/PDF/examples/SimpleTimer.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/SimpleTimer.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/SimpleTimer.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 
@@ -125,7 +135,7 @@
 
     void test()
     {        
-		SimpleTimer p;
+        SimpleTimer p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start();
 
Modified: trunk/libs/msm/doc/PDF/examples/SimpleTutorial.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/SimpleTutorial.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/SimpleTutorial.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 // back-end
 #include <boost/msm/back/state_machine.hpp>
@@ -17,7 +27,7 @@
     struct open_close {};
 
     // A "complicated" event type that carries some data.
-	enum DiskTypeEnum
+    enum DiskTypeEnum
     {
         DISK_CD=0,
         DISK_DVD=1
@@ -158,7 +168,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
         // go to Open, call on_exit on Empty, then action, then on_entry on Open
@@ -169,7 +179,7 @@
             cd_detected("louie, louie",DISK_DVD)); pstate(p);
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
-		p.process_event(play());
+        p.process_event(play());
 
         // at this point, Play is active      
         p.process_event(pause()); pstate(p);
Modified: trunk/libs/msm/doc/PDF/examples/SimpleTutorial2.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/SimpleTutorial2.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/SimpleTutorial2.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 // back-end
 #include <boost/msm/back/state_machine.hpp>
@@ -19,7 +29,7 @@
     struct open_close {};
 
     // A "complicated" event type that carries some data.
-	enum DiskTypeEnum
+    enum DiskTypeEnum
     {
         DISK_CD=0,
         DISK_DVD=1
@@ -171,7 +181,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
         // go to Open, call on_exit on Empty, then action, then on_entry on Open
@@ -182,7 +192,7 @@
             cd_detected("louie, louie",DISK_DVD)); pstate(p);
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
-		p.process_event(play());
+        p.process_event(play());
 
         // at this point, Play is active      
         p.process_event(pause()); pstate(p);
Modified: trunk/libs/msm/doc/PDF/examples/SimpleTutorialEuml.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/SimpleTutorialEuml.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/SimpleTutorialEuml.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 
@@ -131,7 +141,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start();
         // note that we write open_close and not open_close(), like usual. Both are possible with eUML, but 
@@ -145,7 +155,7 @@
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
         // no need to call play as the previous event does it in its action method
-		//p.process_event(play);
+        //p.process_event(play);
 
         // at this point, Play is active      
         p.process_event(pause); pstate(p);
Modified: trunk/libs/msm/doc/PDF/examples/SimpleTutorialEuml2.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/SimpleTutorialEuml2.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/SimpleTutorialEuml2.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 
@@ -103,7 +113,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
         // go to Open, call on_exit on Empty, then action, then on_entry on Open
@@ -115,7 +125,7 @@
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
         // no need to call play as the previous event does it in its action method
-		//p.process_event(play);
+        //p.process_event(play);
 
         // at this point, Play is active      
         p.process_event(pause); pstate(p);
Modified: trunk/libs/msm/doc/PDF/examples/SimpleTutorialInternal.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/SimpleTutorialInternal.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/SimpleTutorialInternal.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 // back-end
 #include <boost/msm/back/state_machine.hpp>
@@ -20,7 +30,7 @@
     struct to_ignore {};
 
     // A "complicated" event type that carries some data.
-	enum DiskTypeEnum
+    enum DiskTypeEnum
     {
         DISK_CD=0,
         DISK_DVD=1
@@ -182,7 +192,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
         // this event will be ignored and not call no_transition
@@ -195,7 +205,7 @@
             cd_detected("louie, louie",DISK_DVD)); pstate(p);
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
-		p.process_event(play());
+        p.process_event(play());
 
         // at this point, Play is active      
         p.process_event(pause()); pstate(p);
Modified: trunk/libs/msm/doc/PDF/examples/SimpleTutorialInternal2.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/SimpleTutorialInternal2.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/SimpleTutorialInternal2.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 // back-end
 #include <boost/msm/back/state_machine.hpp>
@@ -18,7 +28,7 @@
     struct open_close {};
 
     // A "complicated" event type that carries some data.
-	enum DiskTypeEnum
+    enum DiskTypeEnum
     {
         DISK_CD=0,
         DISK_DVD=1
@@ -189,7 +199,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
         // go to Open, call on_exit on Empty, then action, then on_entry on Open
@@ -200,7 +210,7 @@
             cd_detected("louie, louie",DISK_DVD)); pstate(p);
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
-		p.process_event(play());
+        p.process_event(play());
 
         // at this point, Play is active      
         p.process_event(pause()); pstate(p);
Modified: trunk/libs/msm/doc/PDF/examples/SimpleTutorialInternalFunctors.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/SimpleTutorialInternalFunctors.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/SimpleTutorialInternalFunctors.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 // back-end
 #include <boost/msm/back/state_machine.hpp>
@@ -25,7 +35,7 @@
     struct open_close {};
 
     // A "complicated" event type that carries some data.
-	enum DiskTypeEnum
+    enum DiskTypeEnum
     {
         DISK_CD=0,
         DISK_DVD=1
@@ -282,7 +292,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
         // go to Open, call on_exit on Empty, then action, then on_entry on Open
Modified: trunk/libs/msm/doc/PDF/examples/SimpleWithFunctors.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/SimpleWithFunctors.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/SimpleWithFunctors.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 // back-end
@@ -27,7 +37,7 @@
     struct open_close {};
 
     // A "complicated" event type that carries some data.
-	enum DiskTypeEnum
+    enum DiskTypeEnum
     {
         DISK_CD=0,
         DISK_DVD=1
@@ -248,7 +258,7 @@
         }
     };
     // Pick a back-end
-	typedef msm::back::state_machine<player_> player;
+    typedef msm::back::state_machine<player_> player;
 
     //
     // Testing utilities.
@@ -261,7 +271,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
         // go to Open, call on_exit on Empty, then action, then on_entry on Open
@@ -273,7 +283,7 @@
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
         // no need to call play() as the previous event does it in its action method
-		//p.process_event(play());
+        //p.process_event(play());
 
         // at this point, Play is active      
         p.process_event(pause()); pstate(p);
Modified: trunk/libs/msm/doc/PDF/examples/SimpleWithFunctors2.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/SimpleWithFunctors2.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/SimpleWithFunctors2.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 // back-end
@@ -29,7 +39,7 @@
     struct open_close {};
 
     // A "complicated" event type that carries some data.
-	enum DiskTypeEnum
+    enum DiskTypeEnum
     {
         DISK_CD=0,
         DISK_DVD=1
@@ -264,7 +274,7 @@
         }
     };
     // Pick a back-end
-	typedef msm::back::state_machine<player_> player;
+    typedef msm::back::state_machine<player_> player;
 
     //
     // Testing utilities.
@@ -277,7 +287,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
         // go to Open, call on_exit on Empty, then action, then on_entry on Open
@@ -289,7 +299,7 @@
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
         // no need to call play() as the previous event does it in its action method
-		//p.process_event(play());
+        //p.process_event(play());
 
         // at this point, Play is active      
         p.process_event(pause()); pstate(p);
Modified: trunk/libs/msm/doc/PDF/examples/SimpleWithFunctors3.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/SimpleWithFunctors3.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/SimpleWithFunctors3.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 // back-end
@@ -29,7 +39,7 @@
     struct open_close {};
 
     // A "complicated" event type that carries some data.
-	enum DiskTypeEnum
+    enum DiskTypeEnum
     {
         DISK_CD=0,
         DISK_DVD=1
@@ -251,7 +261,7 @@
                                                 //Initial state
                                                 Empty> player_; 
     // Pick a back-end
-	typedef msm::back::state_machine<player_> player;
+    typedef msm::back::state_machine<player_> player;
 
     //
     // Testing utilities.
@@ -264,7 +274,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
         // go to Open, call on_exit on Empty, then action, then on_entry on Open
@@ -276,7 +286,7 @@
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
         // no need to call play() as the previous event does it in its action method
-		//p.process_event(play());
+        //p.process_event(play());
 
         // at this point, Play is active      
         p.process_event(pause()); pstate(p);
Modified: trunk/libs/msm/doc/PDF/examples/TestInternal.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/TestInternal.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/TestInternal.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 #include "boost/mpl/vector/vector30.hpp"
 
@@ -26,7 +36,7 @@
     struct to_ignore {};
 
     // A "complicated" event type that carries some data.
-	enum DiskTypeEnum
+    enum DiskTypeEnum
     {
         DISK_CD=0,
         DISK_DVD=1
@@ -288,7 +298,7 @@
 
     void test()
     {        
-		player p;
+        player p;
         // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
         p.start(); 
         // this event will be ignored and not call no_transition
@@ -301,10 +311,10 @@
             cd_detected("louie, louie",DISK_DVD)); pstate(p);
         p.process_event(
             cd_detected("louie, louie",DISK_CD)); pstate(p);
-		p.process_event(play());
+        p.process_event(play());
         p.process_event(NextSong());
         std::cout << "sending an internal event" << std::endl;
-		p.process_event(internal_event());
+        p.process_event(internal_event());
         std::cout << "conflict between the internal and normal transition. Internal is tried last" << std::endl;
         p.process_event(PreviousSong());
 
Modified: trunk/libs/msm/doc/PDF/examples/char_event_dispatcher.hpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/char_event_dispatcher.hpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/char_event_dispatcher.hpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #ifndef BOOST_MSM_CHAR_EVENT_DISPATCHER_HPP
 #define BOOST_MSM_CHAR_EVENT_DISPATCHER_HPP
 
Modified: trunk/libs/msm/doc/PDF/examples/distributed_table/DistributedTable.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/distributed_table/DistributedTable.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/distributed_table/DistributedTable.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <iostream>
 // back-end
@@ -48,7 +58,7 @@
 
 void test()
 {        
-	player p;
+    player p;
     // needed to start the highest-level SM. This will call on_entry and mark the start of the SM
     p.start(); 
     // go to Open, call on_exit on Empty, then action, then on_entry on Open
Modified: trunk/libs/msm/doc/PDF/examples/distributed_table/Empty.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/distributed_table/Empty.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/distributed_table/Empty.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 #include "Empty.hpp"
 
Modified: trunk/libs/msm/doc/PDF/examples/distributed_table/Empty.hpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/distributed_table/Empty.hpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/distributed_table/Empty.hpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #ifndef EMPTY_HPP
 #define EMPTY_HPP
 
Modified: trunk/libs/msm/doc/PDF/examples/distributed_table/Events.hpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/distributed_table/Events.hpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/distributed_table/Events.hpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #ifndef EVENTS_HPP
 #define EVENTS_HPP
 
Modified: trunk/libs/msm/doc/PDF/examples/distributed_table/Open.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/distributed_table/Open.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/distributed_table/Open.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <iostream>
 #include "Open.hpp"
 
Modified: trunk/libs/msm/doc/PDF/examples/distributed_table/Open.hpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/distributed_table/Open.hpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/distributed_table/Open.hpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #ifndef OPEN_HPP
 #define OPEN_HPP
 
Modified: trunk/libs/msm/doc/PDF/examples/iPodEuml.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/iPodEuml.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/iPodEuml.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <set>
 #include <string>
Modified: trunk/libs/msm/doc/PDF/examples/iPodSearch.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/iPodSearch.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/iPodSearch.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <set>
 #include <string>
 #include <iostream>
Modified: trunk/libs/msm/doc/PDF/examples/iPodSearchEuml.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/iPodSearchEuml.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/iPodSearchEuml.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 // same as iPodSearch.cpp but using eUML
 // requires boost >= v1.40 because using mpl::string
 
Modified: trunk/libs/msm/doc/PDF/examples/iPod_distributed/Events.hpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/iPod_distributed/Events.hpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/iPod_distributed/Events.hpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #ifndef EVENTS_HPP
 #define EVENTS_HPP
 
@@ -19,8 +29,8 @@
 struct EndPlay {};
 struct CloseMenu 
 {
-	template<class EVENT>
-	CloseMenu(EVENT const &) {}
+    template<class EVENT>
+    CloseMenu(EVENT const &) {}
 };
 struct OnOffTimer {};
 struct MenuMiddleButton {};
@@ -28,8 +38,8 @@
 struct SongFinished {};
 struct StartSong 
 {
-	StartSong (int song_index):m_Selected(song_index){}
-	int m_Selected;
+    StartSong (int song_index):m_Selected(song_index){}
+    int m_Selected;
 };
 struct PreviousSong{};
 struct NextSong{};
Modified: trunk/libs/msm/doc/PDF/examples/iPod_distributed/MenuMode.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/iPod_distributed/MenuMode.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/iPod_distributed/MenuMode.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,2 +1,12 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include "MenuMode.hpp"
 BOOST_MSM_BACK_GENERATE_PROCESS_EVENT(MenuMode)
Modified: trunk/libs/msm/doc/PDF/examples/iPod_distributed/MenuMode.hpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/iPod_distributed/MenuMode.hpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/iPod_distributed/MenuMode.hpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #ifndef MENU_MODE_HPP
 #define MENU_MODE_HPP
 
@@ -14,38 +24,38 @@
 
 struct MenuMode_ : public msm::front::state_machine_def<MenuMode_>
 {
-	typedef mpl::vector1<MenuActive>		flag_list;
-	struct WaitingForSongChoice : public msm::front::state<>
-	{
-		template <class Event,class FSM>
-		void on_entry(Event const&,FSM& ) {std::cout << "starting: MenuMode::WaitingForSongChoice" << std::endl;}
-		template <class Event,class FSM>
-		void on_exit(Event const&,FSM& ) {std::cout << "finishing: MenuMode::WaitingForSongChoice" << std::endl;}
-	};
-	struct StartCurrentSong : public msm::front::state<>
-	{
-		template <class Event,class FSM>
-		void on_entry(Event const&,FSM& ) {std::cout << "starting: MenuMode::StartCurrentSong" << std::endl;}
-		template <class Event,class FSM>
-		void on_exit(Event const&,FSM& ) {std::cout << "finishing: MenuMode::StartCurrentSong" << std::endl;}
-	};
-	struct MenuExit : public msm::front::exit_pseudo_state<CloseMenu>
-	{
-		template <class Event,class FSM>
-		void on_entry(Event const&,FSM& ) {std::cout << "starting: MenuMode::WaitingForSongChoice" << std::endl;}
-		template <class Event,class FSM>
-		void on_exit(Event const&,FSM& ) {std::cout << "finishing: MenuMode::WaitingForSongChoice" << std::endl;}
-	};
-	typedef WaitingForSongChoice initial_state;
-	typedef MenuMode_ fsm; // makes transition table cleaner
-	// Transition table for player
-	struct transition_table : mpl::vector2<
-		//     Start                 Event           Next                Action				   Guard
-		//    +---------------------+------------------+-------------------+---------------------+----------------------+
-		_row < WaitingForSongChoice , MenuMiddleButton , StartCurrentSong                                               >,
-		_row < StartCurrentSong     , SelectSong       , MenuExit                                                       >
-		//    +---------------------+------------------+-------------------+---------------------+----------------------+
-	> {};
+    typedef mpl::vector1<MenuActive>		flag_list;
+    struct WaitingForSongChoice : public msm::front::state<>
+    {
+        template <class Event,class FSM>
+        void on_entry(Event const&,FSM& ) {std::cout << "starting: MenuMode::WaitingForSongChoice" << std::endl;}
+        template <class Event,class FSM>
+        void on_exit(Event const&,FSM& ) {std::cout << "finishing: MenuMode::WaitingForSongChoice" << std::endl;}
+    };
+    struct StartCurrentSong : public msm::front::state<>
+    {
+        template <class Event,class FSM>
+        void on_entry(Event const&,FSM& ) {std::cout << "starting: MenuMode::StartCurrentSong" << std::endl;}
+        template <class Event,class FSM>
+        void on_exit(Event const&,FSM& ) {std::cout << "finishing: MenuMode::StartCurrentSong" << std::endl;}
+    };
+    struct MenuExit : public msm::front::exit_pseudo_state<CloseMenu>
+    {
+        template <class Event,class FSM>
+        void on_entry(Event const&,FSM& ) {std::cout << "starting: MenuMode::WaitingForSongChoice" << std::endl;}
+        template <class Event,class FSM>
+        void on_exit(Event const&,FSM& ) {std::cout << "finishing: MenuMode::WaitingForSongChoice" << std::endl;}
+    };
+    typedef WaitingForSongChoice initial_state;
+    typedef MenuMode_ fsm; // makes transition table cleaner
+    // Transition table for player
+    struct transition_table : mpl::vector2<
+        //     Start                 Event           Next                Action				   Guard
+        //    +---------------------+------------------+-------------------+---------------------+----------------------+
+        _row < WaitingForSongChoice , MenuMiddleButton , StartCurrentSong                                               >,
+        _row < StartCurrentSong     , SelectSong       , MenuExit                                                       >
+        //    +---------------------+------------------+-------------------+---------------------+----------------------+
+    > {};
 };
 typedef msm::back::state_machine<MenuMode_> MenuMode;
 
Modified: trunk/libs/msm/doc/PDF/examples/iPod_distributed/PlayingMode.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/iPod_distributed/PlayingMode.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/iPod_distributed/PlayingMode.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,2 +1,12 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include "PlayingMode.hpp"
 BOOST_MSM_BACK_GENERATE_PROCESS_EVENT(PlayingMode)
Modified: trunk/libs/msm/doc/PDF/examples/iPod_distributed/PlayingMode.hpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/iPod_distributed/PlayingMode.hpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/iPod_distributed/PlayingMode.hpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #ifndef PLAYING_MODE_HPP
 #define PLAYING_MODE_HPP
 
@@ -121,23 +131,23 @@
         void on_exit(Event const&,FSM& ) {std::cout << "finishing: PlayingMode::PlayingExit" << std::endl;}
     };
     // transition action methods
-	struct inc_song_counter : euml::euml_action<inc_song_counter>
-	{
-		template <class FSM,class EVT,class SourceState,class TargetState>
-		void operator()(EVT const& ,FSM& fsm,SourceState& ,TargetState& )
-		{
-			if (++fsm.m_SongIndex <= fsm.m_NumberOfSongs )
-			{
-				std::cout << "playing song:" << fsm.m_SongIndex << std::endl;
-			}
-			else
-			{
-				// last song => end playing, next play will start at the beginning
-				fsm.m_SongIndex = 1;
-				fsm.process_event(EndPlay());
-			}
-		}
-	};
+    struct inc_song_counter : euml::euml_action<inc_song_counter>
+    {
+        template <class FSM,class EVT,class SourceState,class TargetState>
+        void operator()(EVT const& ,FSM& fsm,SourceState& ,TargetState& )
+        {
+            if (++fsm.m_SongIndex <= fsm.m_NumberOfSongs )
+            {
+                std::cout << "playing song:" << fsm.m_SongIndex << std::endl;
+            }
+            else
+            {
+                // last song => end playing, next play will start at the beginning
+                fsm.m_SongIndex = 1;
+                fsm.process_event(EndPlay());
+            }
+        }
+    };
  
     void select_song(StartSong const& evt)
     {
@@ -152,31 +162,31 @@
             std::cout << "selecting song:" << m_SongIndex << std::endl;
         }
     }
-	struct dec_song_counter : euml::euml_action<dec_song_counter>
-	{
-		template <class FSM,class EVT,class SourceState,class TargetState>
-		void operator()(EVT const& ,FSM& fsm,SourceState& ,TargetState& )
-		{
-			if (--fsm.m_SongIndex >0 )
-			{
-				std::cout << "playing song:" << fsm.m_SongIndex << std::endl;
-			}
-			else
-			{
-				// before first song => end playing
-				fsm.m_SongIndex = 1;
-				fsm.process_event(EndPlay());
-			}
-		}
-	};
-	struct send_NextSong : euml::euml_action<send_NextSong>
-	{
-		template <class FSM,class EVT,class SourceState,class TargetState>
-		void operator()(EVT const& ,FSM& fsm,SourceState& ,TargetState& )
-		{
-			fsm.process_event(NextSong());
-		}
-	};
+    struct dec_song_counter : euml::euml_action<dec_song_counter>
+    {
+        template <class FSM,class EVT,class SourceState,class TargetState>
+        void operator()(EVT const& ,FSM& fsm,SourceState& ,TargetState& )
+        {
+            if (--fsm.m_SongIndex >0 )
+            {
+                std::cout << "playing song:" << fsm.m_SongIndex << std::endl;
+            }
+            else
+            {
+                // before first song => end playing
+                fsm.m_SongIndex = 1;
+                fsm.process_event(EndPlay());
+            }
+        }
+    };
+    struct send_NextSong : euml::euml_action<send_NextSong>
+    {
+        template <class FSM,class EVT,class SourceState,class TargetState>
+        void operator()(EVT const& ,FSM& fsm,SourceState& ,TargetState& )
+        {
+            fsm.process_event(NextSong());
+        }
+    };
 
     void do_fast_forward(ForwardTimer const&)
     {
@@ -184,47 +194,47 @@
     }
 
     // transition guard methods
-	struct fast_fwd_ok : euml::euml_action<fast_fwd_ok>
-	{
-		template <class FSM,class EVT,class SourceState,class TargetState>
-		bool operator()(EVT const& ,FSM& fsm,SourceState& ,TargetState& )
-		{
-			// guard accepts only if fast forward is possible (No SetPosition mode) 
-			return !fsm.is_flag_active<NoFastFwd>();
-		}
-	};
+    struct fast_fwd_ok : euml::euml_action<fast_fwd_ok>
+    {
+        template <class FSM,class EVT,class SourceState,class TargetState>
+        bool operator()(EVT const& ,FSM& fsm,SourceState& ,TargetState& )
+        {
+            // guard accepts only if fast forward is possible (No SetPosition mode) 
+            return !fsm.is_flag_active<NoFastFwd>();
+        }
+    };
     // initial states / orthogonal zones
     typedef mpl::vector5<Playing,WaitingForNextPrev,WaitingForEnd,NoForward,StdDisplay> 
                             initial_state;
     typedef PlayingMode_ fsm; // makes transition table cleaner
     // Transition table for player
     struct transition_table : mpl::vector19<
-			//    Start                 Event                Next                 Action				      Guard
-			//   +--------------------+---------------------+--------------------+--------------------------+----------------------+
-			_row < Playing            , PlayPause           , Paused                                                               >,
-			_row < Playing            , Off                 , Paused                                                               >,
-		   a_row < Playing            , StartSong           , Playing            , &fsm::select_song                               >,
-			_row < Paused             , PlayPause           , Playing                                                              >,
+            //    Start                 Event                Next                 Action				      Guard
+            //   +--------------------+---------------------+--------------------+--------------------------+----------------------+
+            _row < Playing            , PlayPause           , Paused                                                               >,
+            _row < Playing            , Off                 , Paused                                                               >,
+           a_row < Playing            , StartSong           , Playing            , &fsm::select_song                               >,
+            _row < Paused             , PlayPause           , Playing                                                              >,
  msm::front::Row < Playing            , SongFinished        , Playing            , inc_song_counter         , msm::front::none     >,
-		   a_row < Paused             , StartSong           , Playing            , &fsm::select_song                               >,
-			//   +--------------------+---------------------+--------------------+--------------------------+----------------------+
+           a_row < Paused             , StartSong           , Playing            , &fsm::select_song                               >,
+            //   +--------------------+---------------------+--------------------+--------------------------+----------------------+
  msm::front::Row < WaitingForNextPrev , PreviousSong        , WaitingForNextPrev , dec_song_counter         , msm::front::none     >,
  msm::front::Row < WaitingForNextPrev , NextSong            , WaitingForNextPrev , inc_song_counter         , msm::front::none     >,
-			//   +--------------------+---------------------+--------------------+--------------------------+----------------------+
-			_row < WaitingForEnd      , EndPlay             , PlayingExit                                                          >,
-			//   +--------------------+---------------------+--------------------+--------------------------+----------------------+
+            //   +--------------------+---------------------+--------------------+--------------------------+----------------------+
+            _row < WaitingForEnd      , EndPlay             , PlayingExit                                                          >,
+            //   +--------------------+---------------------+--------------------+--------------------------+----------------------+
  msm::front::Row < NoForward          , EastPressed         , ForwardPressed      , msm::front::none        , fast_fwd_ok		   >,
  msm::front::Row < ForwardPressed     , EastReleased        , NoForward           , send_NextSong           , msm::front::none     >,
-		   a_row < ForwardPressed     , ForwardTimer        , FastForward         , &fsm::do_fast_forward                          >,
-		   a_row < FastForward        , ForwardTimer        , FastForward         , &fsm::do_fast_forward                          >,
-			_row < FastForward        , EastReleased        , NoForward                                                            >,
-			//   +--------------------+---------------------+---------------------+--------------------------+----------------------+
-			_row < StdDisplay         , PlayingMiddleButton , SetPosition                                                          >,
-			_row < SetPosition        , StartSong           , StdDisplay                                                           >,
-			_row < SetPosition        , PlayingMiddleButton , SetMark                                                              >,
-			_row < SetMark            , PlayingMiddleButton , StdDisplay                                                           >,
-			_row < SetMark            , StartSong           , StdDisplay                                                           >
-			//   +--------------------+---------------------+---------------------+--------------------------+----------------------+
+           a_row < ForwardPressed     , ForwardTimer        , FastForward         , &fsm::do_fast_forward                          >,
+           a_row < FastForward        , ForwardTimer        , FastForward         , &fsm::do_fast_forward                          >,
+            _row < FastForward        , EastReleased        , NoForward                                                            >,
+            //   +--------------------+---------------------+---------------------+--------------------------+----------------------+
+            _row < StdDisplay         , PlayingMiddleButton , SetPosition                                                          >,
+            _row < SetPosition        , StartSong           , StdDisplay                                                           >,
+            _row < SetPosition        , PlayingMiddleButton , SetMark                                                              >,
+            _row < SetMark            , PlayingMiddleButton , StdDisplay                                                           >,
+            _row < SetMark            , StartSong           , StdDisplay                                                           >
+            //   +--------------------+---------------------+---------------------+--------------------------+----------------------+
     > {};
     PlayingMode_():
     m_SongIndex(1),
Modified: trunk/libs/msm/doc/PDF/examples/iPod_distributed/iPod.cpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/iPod_distributed/iPod.cpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/iPod_distributed/iPod.cpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #include <vector>
 #include <set>
 #include <string>
@@ -89,7 +99,7 @@
         // transition actions
         void send_ActivateMenu(EndPlay const&)
         {
-			std::cout << "leaving Playing" << std::endl;
+            std::cout << "leaving Playing" << std::endl;
             // we need to activate the menu and simulate its button
             (static_cast<iPod*>(this))->process_event(MenuButton());
         }
Modified: trunk/libs/msm/doc/PDF/examples/ipod_functors.hpp
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/ipod_functors.hpp	(original)
+++ trunk/libs/msm/doc/PDF/examples/ipod_functors.hpp	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #ifndef IPOD_FUNCTORS_HPP
 #define IPOD_FUNCTORS_HPP
 #include <boost/msm/front/euml/euml.hpp>
@@ -235,4 +245,4 @@
         std::cout << "turning player on" << std::endl;
     }
 };
-#endif
\ No newline at end of file
+#endif
Modified: trunk/libs/msm/doc/PDF/examples/logging_functors.h
==============================================================================
--- trunk/libs/msm/doc/PDF/examples/logging_functors.h	(original)
+++ trunk/libs/msm/doc/PDF/examples/logging_functors.h	2010-06-08 09:07:20 EDT (Tue, 08 Jun 2010)
@@ -1,3 +1,13 @@
+// Copyright 2010 Christophe Henry
+// henry UNDERSCORE christophe AT hotmail DOT com
+// This is an extended version of the state machine available in the boost::mpl library
+// Distributed under the same license as the original.
+// Copyright for the original version:
+// Copyright 2005 David Abrahams and Aleksey Gurtovoy. Distributed
+// under the Boost Software License, Version 1.0. (See accompanying
+// file LICENSE_1_0.txt or copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
 #ifndef LOGGING_FUNCTORS
 #define LOGGING_FUNCTORS