$NetBSD: patch-ac,v 1.3 2007/08/30 15:30:31 joerg Exp $

--- src/audio/audio.hh.orig	2008-03-05 21:31:05.000000000 +0000
+++ src/audio/audio.hh
@@ -126,7 +126,30 @@ namespace Bmp
      */
     struct Element
     {
-      class Attr;
+      /** An attribute holds a @link Bmp::Audio::Element::Attr::Value@endlink,
+       *  and a name (std::string)
+       */
+      struct Attr
+      {
+        /** boost::variant type for bool, int, double and string values
+         */
+        typedef boost::variant<bool, int, double, std::string> Value;
+
+        std::string name;
+        Value       value;
+
+        /** Default ctor
+         */
+        Attr () {}
+
+        /** Ctor taking the value, type and the name
+         */
+        Attr (std::string const& name,
+              Value const&       value)
+          : name  (name)
+          , value (value)
+        {}
+      };
 
       /** std::vector typedef of an Attr
        */
@@ -165,30 +188,6 @@ namespace Bmp
       }
     };
 
-    /** An attribute holds a @link Bmp::Audio::Element::Attr::Value@endlink,
-     *  and a name (std::string)
-     */
-    struct Element::Attr
-    {
-      /** boost::variant type for bool, int, double and string values
-       */
-      typedef boost::variant<bool, int, double, std::string> Value;
-
-      std::string name;
-      Value       value;
-
-      /** Default ctor
-       */
-      Attr () {}
-
-      /** Ctor taking the value, type and the name
-       */
-      Attr (std::string const& name,
-            Value const&       value)
-        : name  (name)
-        , value (value)
-      {}
-    };
 
     /** Current state of the audio processing unit
      */
