Fork of Smoothie to port to mbed non-LPC targets.

Dependencies:   mbed

Fork of Smoothie by Stéphane Cachat

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers AppendFileStream.h Source File

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