diff dstep/foundation/NSMetadata.d @ 25:b9de51448c6b

Added an id constructor. Changed the string mixin to a template mixin. Added support for building as a dynamic library
author Jacob Carlborg <doob@me.com>
date Tue, 06 Apr 2010 11:37:27 +0200
parents 19885b43130e
children
line wrap: on
line diff
--- a/dstep/foundation/NSMetadata.d	Wed Feb 10 19:24:32 2010 +0100
+++ b/dstep/foundation/NSMetadata.d	Tue Apr 06 11:37:27 2010 +0200
@@ -114,7 +114,12 @@
 
 class NSMetadataQueryResultGroup : NSObject
 {
-	mixin (ObjcWrap);
+	mixin ObjcWrap;
+	
+	this (id object)
+	{
+		super(object);
+	}
 	
 	this ()
 	{
@@ -159,7 +164,12 @@
 
 class NSMetadataItem : NSObject
 {
-	mixin (ObjcWrap);
+	mixin ObjcWrap;
+	
+	this (id object)
+	{
+		super(object);
+	}
 	
 	this ()
 	{
@@ -189,7 +199,12 @@
 
 class NSMetadataQuery : NSObject
 {
-	mixin (ObjcWrap);
+	mixin ObjcWrap;
+	
+	this (id object)
+	{
+		super(object);
+	}
 	
 	this ()
 	{
@@ -344,7 +359,12 @@
 
 class NSMetadataQueryAttributeValueTuple : NSObject
 {
-	mixin (ObjcWrap);
+	mixin ObjcWrap;
+	
+	this (id object)
+	{
+		super(object);
+	}
 	
 	this ()
 	{