summaryrefslogtreecommitdiff
path: root/audio/daapd/patches/patch-ae
blob: 075f25433085b7efff5844ddb4c2c680f0ac3786 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
$NetBSD: patch-ae,v 1.1 2006/07/03 13:58:31 tron Exp $

--- daaplib/include/daap/taginput.h.orig	2006-07-03 14:32:01.000000000 +0100
+++ daaplib/include/daap/taginput.h	2006-07-03 14:36:37.000000000 +0100
@@ -71,9 +71,7 @@
 			return( func( *this ));
 		}
 			
-		friend inline TagInput& end( TagInput& x ) {
-			return( x.closeTag() );
-		}
+		friend inline TagInput& end( TagInput& x );
 
 
 		//////
@@ -95,15 +93,9 @@
 			return( *this );
 		}
 
-		friend inline TagInput& skipTag( TagInput& x ) {
-			x.skipTag();
-			return( x );
-		}
+		friend inline TagInput& skipTag( TagInput& x );
 
-		friend inline TagInput& skipRestOfTag( TagInput& x ) {
-			x.skipRestOfTag();
-			return( x );
-		}
+		friend inline TagInput& skipRestOfTag( TagInput& x );
 
 	protected:
 		typedef std::vector<u32> StackInt32;
@@ -131,4 +123,20 @@
 		TagInput( const TagInput& );
 		TagInput& operator = ( const TagInput& );
 	};
+
+	inline TagInput& end( TagInput& x ) {
+		return( x.closeTag() );
+	}
+
+
+	inline TagInput& skipTag( TagInput& x ) {
+		x.skipTag();
+		return( x );
+	}
+
+	inline TagInput& skipRestOfTag( TagInput& x ) {
+		x.skipRestOfTag();
+		return( x );
+	}
+
 #endif