summaryrefslogtreecommitdiff
path: root/objective-c/include/objc/Ice/ObjectFactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'objective-c/include/objc/Ice/ObjectFactory.h')
-rw-r--r--objective-c/include/objc/Ice/ObjectFactory.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/objective-c/include/objc/Ice/ObjectFactory.h b/objective-c/include/objc/Ice/ObjectFactory.h
new file mode 100644
index 00000000000..8463e895780
--- /dev/null
+++ b/objective-c/include/objc/Ice/ObjectFactory.h
@@ -0,0 +1,16 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+#import <objc/Ice/Config.h>
+
+ICE_API @protocol ICEObjectFactory <NSObject>
+-(ICEObject*) create:(NSString*)sliceId NS_RETURNS_RETAINED;
+-(void) destroy;
+@end
+