1. made ann,dx spots,wwv,wcy,wx more 'object oriented'.
[spider.git] / perl / DXChannel.pm
index f1e711e07d75cc3d1431818d0532f4bbbbbe9579..be5feee32b2915308464961f9884c5b4e9dee218 100644 (file)
@@ -99,6 +99,8 @@ $count = 0;
                  dxcc => '0,Country Code',
                  itu => '0,ITU Zone',
                  cq => '0,CQ Zone',
+                 enhanced => '5,Enhanced Client,yesno',
+                 senddbg => '8,Sending Debug,yesno',
                 );
 
 # object destruction
@@ -303,6 +305,29 @@ sub send_now
        $self->{t} = time;
 }
 
+#
+# send later with letter (more control)
+#
+
+sub send_later
+{
+       my $self = shift;
+       my $conn = $self->{conn};
+       return unless $conn;
+       my $sort = shift;
+       my $call = $self->{call};
+       
+       for (@_) {
+#              chomp;
+        my @lines = split /\n/;
+               for (@lines) {
+                       $conn->send_later("$sort$call|$_");
+                       dbg("-> $sort $call $_") if isdbg('chan');
+               }
+       }
+       $self->{t} = time;
+}
+
 #
 # the normal output routine
 #