Fork of Smoothie to port to mbed non-LPC targets.
Fork of Smoothie by
AppendFileStream.h
00001 #ifndef _APPENDFILESTREAM_H_ 00002 #define _APPENDFILESTREAM_H_ 00003 00004 #include "StreamOutput.h" 00005 #include <string.h> 00006 #include <stdlib.h> 00007 00008 class AppendFileStream : public StreamOutput { 00009 public: 00010 AppendFileStream(const char *filename) { fn= filename; } 00011 virtual ~AppendFileStream(){} 00012 int puts(const char*); 00013 00014 private: 00015 const char *fn; 00016 }; 00017 00018 #endif
Generated on Tue Jul 12 2022 20:09:00 by 1.7.2