00001 // 00002 // Copyright (C) 2009, 2010 Free Software Foundation, Inc. 00003 // 00004 // This program is free software; you can redistribute it and/or modify 00005 // it under the terms of the GNU General Public License as published by 00006 // the Free Software Foundation; either version 3 of the License, or 00007 // (at your option) any later version. 00008 // 00009 // This program is distributed in the hope that it will be useful, 00010 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 // GNU General Public License for more details. 00013 // 00014 // You should have received a copy of the GNU General Public License 00015 // along with this program; if not, write to the Free Software 00016 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00017 00018 #ifndef __SERVERSO_H__ 00019 #define __SERVERSO_H__ 00020 00021 #include <iostream> 00022 00023 #include "sol.h" 00024 #include "element.h" 00025 00030 namespace cygnal { 00031 00036 class DSOEXPORT ServerSO : public cygnal::SOL 00037 { 00038 public: 00039 ServerSO(); 00040 ~ServerSO(); 00041 00044 void dump() const { dump(std::cerr); } 00045 00047 void dump(std::ostream& os) const; 00048 00049 }; 00050 00052 inline std::ostream& operator << (std::ostream& os, const ServerSO &so) 00053 { 00054 so.dump(os); 00055 return os; 00056 } 00057 00058 // End of gnash namespace 00059 } 00060 00061 // __SERVERSO_H__ 00062 #endif 00063 00064 00065 // local Variables: 00066 // mode: C++ 00067 // indent-tabs-mode: t 00068 // End: