diff options
author | Eric Blossom | 2010-09-26 16:55:18 -0700 |
---|---|---|
committer | Eric Blossom | 2010-09-27 14:56:44 -0700 |
commit | 424bca3bb914213fe3449d1d3462d5992bf5007c (patch) | |
tree | 41a428da8ee53c41fb598054e24607110a90e4cf /vrt/lib/header_utils.h | |
parent | 30d657c09338afe8dd0e8fb4d8fc184169834c09 (diff) | |
download | gnuradio-424bca3bb914213fe3449d1d3462d5992bf5007c.tar.gz gnuradio-424bca3bb914213fe3449d1d3462d5992bf5007c.tar.bz2 gnuradio-424bca3bb914213fe3449d1d3462d5992bf5007c.zip |
Common utility for displaying integer seconds
Diffstat (limited to 'vrt/lib/header_utils.h')
-rw-r--r-- | vrt/lib/header_utils.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/vrt/lib/header_utils.h b/vrt/lib/header_utils.h new file mode 100644 index 000000000..823d37b6b --- /dev/null +++ b/vrt/lib/header_utils.h @@ -0,0 +1,36 @@ +/* -*- c++ -*- */ +/* + * Copyright 2010 Free Software Foundation, Inc. + * + * This file is part of GNU Radio + * + * GNU Radio is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3, or (at your option) + * any later version. + * + * GNU Radio is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ +#ifndef INCLUDED_VRT_HEADER_UTILS_H +#define INCLUDED_VRT_HEADER_UTILS_H + +#include <iosfwd> +#include <stdint.h> + +namespace vrt +{ + namespace detail { + + void wr_int_secs(std::ostream &os, uint32_t secs); + + }; +}; + +#endif /* INCLUDED_VRT_HEADER_UTILS_H */ |