logo       


r10881 - in trunk/libraries: id3v2 packetizer: msg#00006

Subject: r10881 - in trunk/libraries: id3v2 packetizer
Author: hannes
Date: Sat Sep  2 21:58:11 2006
New Revision: 10881

Modified:
   trunk/libraries/id3v2/id3v2.dylan
   trunk/libraries/packetizer/ieee80211.dylan
   trunk/libraries/packetizer/protocol-definer-macro.dylan
Log:
Bug: 7299
*support for empty subclasses of <container-frame> via the 
protocol-definer-macro

Modified: trunk/libraries/id3v2/id3v2.dylan
==============================================================================
--- trunk/libraries/id3v2/id3v2.dylan   (original)
+++ trunk/libraries/id3v2/id3v2.dylan   Sat Sep  2 21:58:11 2006
@@ -33,13 +33,7 @@
   end;
 end;
 
-define class <id3v2-string> (<container-frame>)
-end;
-
-define class <unparsed-id3v2-string> (<id3v2-string>, 
<unparsed-container-frame>)
-end;
-
-define class <decoded-id3v2-string> (<id3v2-string>, <decoded-container-frame>)
+define protocol id3v2-string (container-frame)
 end;
 
 define protocol id3v2-string-with-type (id3v2-string)

Modified: trunk/libraries/packetizer/ieee80211.dylan
==============================================================================
--- trunk/libraries/packetizer/ieee80211.dylan  (original)
+++ trunk/libraries/packetizer/ieee80211.dylan  Sat Sep  2 21:58:11 2006
@@ -294,7 +294,7 @@
 end;
 
 // ieee80211 control frames
-define protocol ieee80211-control-frame(container-frame)
+define protocol ieee80211-control-frame (container-frame)
 end;
 
 define protocol ieee80211-request-to-send (ieee80211-control-frame)

Modified: trunk/libraries/packetizer/protocol-definer-macro.dylan
==============================================================================
--- trunk/libraries/packetizer/protocol-definer-macro.dylan     (original)
+++ trunk/libraries/packetizer/protocol-definer-macro.dylan     Sat Sep  2 
21:58:11 2006
@@ -393,6 +393,13 @@
       { summary-generator("<" ## ?name ## ">"; ?summary);
         define protocol ?name (?superprotocol) ?fields end; }
 
+    { define protocol ?:name (container-frame) end } =>
+      { define abstract class "<" ## ?name ## ">" (<container-frame>) end;
+        define abstract class "<decoded-" ## ?name ## ">"
+         ("<" ## ?name ## ">", <decoded-container-frame>)
+        end;
+        gen-classes(?name; container-frame); }
+
     { define protocol ?:name (?superprotocol:name)
         ?fields:*
       end } =>
-- 
Gd-chatter mailing list
Gd-chatter@xxxxxxxxxxxxxxxx
https://www.opendylan.org/mailman/listinfo/gd-chatter



Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe