diff options
author | jcorgan | 2007-08-27 18:49:11 +0000 |
---|---|---|
committer | jcorgan | 2007-08-27 18:49:11 +0000 |
commit | c088a546ac7ae55748e5421201f3387f3e1286f9 (patch) | |
tree | b655773370d082062c2842181bff1638354c57c8 /gnuradio-examples/c++/dial_tone/main.cc | |
parent | 06945c04b4af8af035aeee2e28d5e5626888f5ee (diff) | |
download | gnuradio-c088a546ac7ae55748e5421201f3387f3e1286f9.tar.gz gnuradio-c088a546ac7ae55748e5421201f3387f3e1286f9.tar.bz2 gnuradio-c088a546ac7ae55748e5421201f3387f3e1286f9.zip |
Merged r6171:6186 from jcorgan/fg into trunk.
Changes hierarchical flow graph API to use gr.top_block instead
of gr.runtime.
See discuss-gnuradio mailing list for explanation of changes.
GRC has not been updated to use the changed API.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@6187 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gnuradio-examples/c++/dial_tone/main.cc')
-rw-r--r-- | gnuradio-examples/c++/dial_tone/main.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gnuradio-examples/c++/dial_tone/main.cc b/gnuradio-examples/c++/dial_tone/main.cc index 684b8efd3..a09bd8288 100644 --- a/gnuradio-examples/c++/dial_tone/main.cc +++ b/gnuradio-examples/c++/dial_tone/main.cc @@ -26,13 +26,10 @@ // Tell the runtime to go... #include <dial_tone.h> -#include <gr_runtime.h> int main() { dial_tone_sptr top_block = make_dial_tone(); - gr_runtime_sptr runtime = gr_make_runtime(top_block); - - runtime->run(); + top_block->run(); return 0; } |