00001 #ifndef REBECCA_FRAMEWORK_INNERTOPIC_H 00002 #define REBECCA_FRAMEWORK_INNERTOPIC_H 00003 00004 /* 00005 * RebeccaAIML, Artificial Intelligence Markup Language 00006 * C++ api and engine. 00007 * 00008 * Copyright (C) 2005 Frank Hassanabad 00009 * 00010 * This library is free software; you can redistribute it and/or 00011 * modify it under the terms of the GNU Lesser General Public 00012 * License as published by the Free Software Foundation; either 00013 * version 2.1 of the License, or (at your option) any later version. 00014 * 00015 * This library is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00018 * Lesser General Public License for more details. 00019 * 00020 * You should have received a copy of the GNU Lesser General Public 00021 * License along with this library; if not, write to the Free Software 00022 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00023 */ 00024 00025 /* Disable Windows VC 7.x warning about 00026 * shared_ptr needing dll-interface and 00027 * about it ignoring the throw specification 00028 */ 00029 #ifdef _WIN32 00030 # pragma warning ( push ) 00031 # pragma warning( disable : 4251 ) 00032 # pragma warning( disable : 4290 ) 00033 #endif 00034 00035 #include <rebecca/framework/InnerAIML.h> 00036 00037 namespace rebecca 00038 { 00039 namespace framework 00040 { 00041 namespace impl 00042 { 00043 00044 /* 00045 * Forward declerations 00046 */ 00047 00058 class InnerTopicImpl; 00059 00060 00076 class REBECCA_EXPORT InnerTopic : public InnerAIML 00077 { 00078 public: 00079 00089 InnerTopic() 00090 throw(InternalProgrammerErrorException &); 00091 00096 ~InnerTopic(); 00097 00098 private: 00099 00110 shared_ptr<InnerTopicImpl> m_pimpl; 00111 }; 00112 00113 } //end of namespace impl 00114 00115 //Expose just the class name to the framework namespace 00116 using rebecca::framework::impl::InnerTopic; 00117 00118 } //end of namespace framework 00119 } //end of namespace rebecca 00120 00121 #ifdef _WIN32 00122 # pragma warning ( pop ) 00123 #endif 00124 00125 #endif 00126