00001 00002 // exotkAF.cxx 00004 // Copyright (C) 2001 Stephane Routelous 00005 // 00006 // This file is part of exoTK. 00007 // 00008 // exoTK is free software; you can redistribute it and/or modify 00009 // it under the terms of the GNU General Public License as published by 00010 // the Free Software Foundation; either version 2 of the License, or 00011 // (at your option) any later version. 00012 // 00013 // exoTK is distributed in the hope that it will be useful, 00014 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 // GNU General Public License for more details. 00017 // 00018 // You should have received a copy of the GNU General Public License 00019 // along with exoTK; if not, write to the Free Software 00020 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00022 00028 #include <exotkAF.hxx> 00029 00030 #ifndef _Handle_exotkAF_Application_HeaderFile 00031 #include <Handle_exotkAF_Application.hxx> 00032 #endif 00033 00038 namespace exotkAF_Datas 00039 { 00041 Handle_exotkAF_Application theApplication; 00042 } 00043 00044 //================================================================================== 00045 // Function name : exotkAF::SetApplication 00046 //================================================================================== 00047 // Written by : Stephane Routelous - 2001-11-06 15:55:59 00048 // Description : 00049 // Return type : void 00050 //================================================================================== 00051 // Argument : const Handle_exotkAF_Application& anApplication 00052 void exotkAF::SetApplication(const Handle_exotkAF_Application& anApplication) 00053 { 00054 exotkAF_Datas::theApplication = anApplication; 00055 } 00056 00057 //================================================================================== 00058 // Function name : exotkAF::Application 00059 //================================================================================== 00060 // Written by : Stephane Routelous - 2001-11-06 15:56:01 00061 // Description : 00062 // Return type : Handle_exotkAF_Application 00063 //================================================================================== 00064 Handle_exotkAF_Application exotkAF::Application() 00065 { 00066 return exotkAF_Datas::theApplication; 00067 }
1.2.12 written by Dimitri van Heesch,
© 1997-2001