summaryrefslogtreecommitdiff
path: root/lib/cocoa
diff options
context:
space:
mode:
authorAndrew McGeachie <geechorama@apache.org>2009-07-21 14:45:12 +0000
committerAndrew McGeachie <geechorama@apache.org>2009-07-21 14:45:12 +0000
commit6db89f29782b8487e7cae1ea77c9300aedb5c86b (patch)
tree14e086213fab3d3b97e1765f5f5bdd2c45f6df3d /lib/cocoa
parent330cfc13bc587487fac0c51f65438152cb1f7361 (diff)
downloadthrift-6db89f29782b8487e7cae1ea77c9300aedb5c86b.tar.gz
THRIFT-343. Import <Foundation/Foundation.h> instead of <Cocoa/Cocoa.h> to support iPhone
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@796327 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'lib/cocoa')
-rw-r--r--lib/cocoa/src/TException.h2
-rw-r--r--lib/cocoa/src/TProcessor.h2
-rw-r--r--lib/cocoa/src/protocol/TProtocol.h2
-rw-r--r--lib/cocoa/src/protocol/TProtocolFactory.h2
-rw-r--r--lib/cocoa/src/server/TSocketServer.h2
-rw-r--r--lib/cocoa/src/server/TSocketServer.m2
-rw-r--r--lib/cocoa/src/transport/THTTPClient.h2
-rw-r--r--lib/cocoa/src/transport/TNSFileHandleTransport.h2
-rw-r--r--lib/cocoa/src/transport/TNSStreamTransport.h2
-rw-r--r--lib/cocoa/src/transport/TSocketClient.h2
-rw-r--r--lib/cocoa/src/transport/TSocketClient.m2
11 files changed, 11 insertions, 11 deletions
diff --git a/lib/cocoa/src/TException.h b/lib/cocoa/src/TException.h
index b069a8683..e56f4fa22 100644
--- a/lib/cocoa/src/TException.h
+++ b/lib/cocoa/src/TException.h
@@ -17,7 +17,7 @@
* under the License.
*/
-#import <Cocoa/Cocoa.h>
+#import <Foundation/Foundation.h>
@interface TException : NSException {
}
diff --git a/lib/cocoa/src/TProcessor.h b/lib/cocoa/src/TProcessor.h
index f8df225ee..e361d9694 100644
--- a/lib/cocoa/src/TProcessor.h
+++ b/lib/cocoa/src/TProcessor.h
@@ -17,7 +17,7 @@
* under the License.
*/
-#import <Cocoa/Cocoa.h>
+#import <Foundation/Foundation.h>
@protocol TProcessor <NSObject>
diff --git a/lib/cocoa/src/protocol/TProtocol.h b/lib/cocoa/src/protocol/TProtocol.h
index cc8cdb4bf..281239d7a 100644
--- a/lib/cocoa/src/protocol/TProtocol.h
+++ b/lib/cocoa/src/protocol/TProtocol.h
@@ -17,7 +17,7 @@
* under the License.
*/
-#import <Cocoa/Cocoa.h>
+#import <Foundation/Foundation.h>
#import "TTransport.h"
diff --git a/lib/cocoa/src/protocol/TProtocolFactory.h b/lib/cocoa/src/protocol/TProtocolFactory.h
index 2d125e96f..f200a6ddd 100644
--- a/lib/cocoa/src/protocol/TProtocolFactory.h
+++ b/lib/cocoa/src/protocol/TProtocolFactory.h
@@ -17,7 +17,7 @@
* under the License.
*/
-#import <Cocoa/Cocoa.h>
+#import <Foundation/Foundation.h>
#import "TProtocol.h"
#import "TTransport.h"
diff --git a/lib/cocoa/src/server/TSocketServer.h b/lib/cocoa/src/server/TSocketServer.h
index 3d4a9e0e7..e107aaae9 100644
--- a/lib/cocoa/src/server/TSocketServer.h
+++ b/lib/cocoa/src/server/TSocketServer.h
@@ -17,7 +17,7 @@
* under the License.
*/
-#import <Cocoa/Cocoa.h>
+#import <Foundation/Foundation.h>
#import "TProtocolFactory.h"
#import "TProcessor.h"
diff --git a/lib/cocoa/src/server/TSocketServer.m b/lib/cocoa/src/server/TSocketServer.m
index 97d8bae7b..5feb9b694 100644
--- a/lib/cocoa/src/server/TSocketServer.m
+++ b/lib/cocoa/src/server/TSocketServer.m
@@ -17,7 +17,7 @@
* under the License.
*/
-#import <Cocoa/Cocoa.h>
+#import <Foundation/Foundation.h>
#import "TSocketServer.h"
#import "TNSFileHandleTransport.h"
#import "TProtocol.h"
diff --git a/lib/cocoa/src/transport/THTTPClient.h b/lib/cocoa/src/transport/THTTPClient.h
index 86f3f0548..4d57840b1 100644
--- a/lib/cocoa/src/transport/THTTPClient.h
+++ b/lib/cocoa/src/transport/THTTPClient.h
@@ -17,7 +17,7 @@
* under the License.
*/
-#import <Cocoa/Cocoa.h>
+#import <Foundation/Foundation.h>
#import "TTransport.h"
@interface THTTPClient : NSObject <TTransport> {
diff --git a/lib/cocoa/src/transport/TNSFileHandleTransport.h b/lib/cocoa/src/transport/TNSFileHandleTransport.h
index 64a6af3cf..ba2a2093a 100644
--- a/lib/cocoa/src/transport/TNSFileHandleTransport.h
+++ b/lib/cocoa/src/transport/TNSFileHandleTransport.h
@@ -18,7 +18,7 @@
*/
-#import <Cocoa/Cocoa.h>
+#import <Foundation/Foundation.h>
#import "TTransport.h"
@interface TNSFileHandleTransport : NSObject <TTransport> {
diff --git a/lib/cocoa/src/transport/TNSStreamTransport.h b/lib/cocoa/src/transport/TNSStreamTransport.h
index 295a185cd..d7be40b2d 100644
--- a/lib/cocoa/src/transport/TNSStreamTransport.h
+++ b/lib/cocoa/src/transport/TNSStreamTransport.h
@@ -17,7 +17,7 @@
* under the License.
*/
-#import <Cocoa/Cocoa.h>
+#import <Foundation/Foundation.h>
#import "TTransport.h"
@interface TNSStreamTransport : NSObject <TTransport> {
diff --git a/lib/cocoa/src/transport/TSocketClient.h b/lib/cocoa/src/transport/TSocketClient.h
index a883acbb2..0ea957d8e 100644
--- a/lib/cocoa/src/transport/TSocketClient.h
+++ b/lib/cocoa/src/transport/TSocketClient.h
@@ -17,7 +17,7 @@
* under the License.
*/
-#import <Cocoa/Cocoa.h>
+#import <Foundation/Foundation.h>
#import "TNSStreamTransport.h"
@interface TSocketClient : TNSStreamTransport {
diff --git a/lib/cocoa/src/transport/TSocketClient.m b/lib/cocoa/src/transport/TSocketClient.m
index 7c07c5613..cc50bec0a 100644
--- a/lib/cocoa/src/transport/TSocketClient.m
+++ b/lib/cocoa/src/transport/TSocketClient.m
@@ -17,7 +17,7 @@
* under the License.
*/
-#import <Cocoa/Cocoa.h>
+#import <Foundation/Foundation.h>
#import "TSocketClient.h"
@implementation TSocketClient