cobble a temporary changelog entry to keep this test build straight
[debian/gnuradio] / gnuradio-examples / c++ / dial_tone / dial_tone.cc
index f87b5e60d7c4df4b325204e918be32687ea71abc..9a2772a181b55f348bcd3ec06d0e71ff84b59d80 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2006 Free Software Foundation, Inc.
+ * Copyright 2006,2008 Free Software Foundation, Inc.
  * 
  * This file is part of GNU Radio
  * 
 // Shared pointer constructor
 dial_tone_sptr make_dial_tone()
 {
-    return dial_tone_sptr(new dial_tone());
+  return gnuradio::get_initial_sptr(new dial_tone());
 }
 
 // Hierarchical block constructor, with no inputs or outputs
 dial_tone::dial_tone() : 
-gr_hier_block2("dial_tone",
-              gr_make_io_signature(0,0,0),
-              gr_make_io_signature(0,0,0))
+    gr_top_block("dial_tone")
 {
     gr_sig_source_f_sptr src0 = gr_make_sig_source_f(48000, GR_SIN_WAVE, 350, 0.1);
     gr_sig_source_f_sptr src1 = gr_make_sig_source_f(48000, GR_SIN_WAVE, 440, 0.1);