00001 /* 00002 This file is part of hugin. 00003 00004 hugin 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 2 of the License, or 00007 (at your option) any later version. 00008 00009 hugin 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 hugin. If not, see <http://www.gnu.org/licenses/>. 00016 */ 00017 00025 #include "MakefileItem.h" 00026 00027 namespace makefile 00028 { 00029 00030 ostream& operator<<(ostream& stream, MakefileItem& item) 00031 { 00032 item.print(stream); 00033 return stream; 00034 } 00035 00036 string operator+(const string& str, MakefileItem& item) 00037 { 00038 string out(str); 00039 out.append(item.toString()); 00040 return out; 00041 } 00042 string operator+(MakefileItem& item, const string& str) 00043 { 00044 string out(item.toString()); 00045 out.append(str); 00046 return out; 00047 } 00048 00049 }
1.3.9.1