summaryrefslogtreecommitdiff
path: root/gr-blocks/include/gnuradio/blocks/file_sink_base.h
diff options
context:
space:
mode:
authorBastian Bloessl <bastian.bloessl@uibk.ac.at>2013-05-31 10:57:06 +0200
committerJohnathan Corgan <johnathan@corganlabs.com>2013-10-28 08:42:25 -0700
commit7b874636db9e214cff863e081d59c3eaa37046fc (patch)
tree60c14444473ad140e48514896ec41b7b4ed05a6a /gr-blocks/include/gnuradio/blocks/file_sink_base.h
parent883ae8e3bbcaac6402fa07ac9e6c3d37d20fd973 (diff)
blocks: add append option to file sink
Diffstat (limited to 'gr-blocks/include/gnuradio/blocks/file_sink_base.h')
-rw-r--r--gr-blocks/include/gnuradio/blocks/file_sink_base.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gr-blocks/include/gnuradio/blocks/file_sink_base.h b/gr-blocks/include/gnuradio/blocks/file_sink_base.h
index 812da6dfae..253b5ea122 100644
--- a/gr-blocks/include/gnuradio/blocks/file_sink_base.h
+++ b/gr-blocks/include/gnuradio/blocks/file_sink_base.h
@@ -42,9 +42,10 @@ namespace gr {
bool d_is_binary;
boost::mutex d_mutex;
bool d_unbuffered;
+ bool d_append;
protected:
- file_sink_base(const char *filename, bool is_binary);
+ file_sink_base(const char *filename, bool is_binary, bool append);
public:
file_sink_base() {}