string t_cocoa_generator::cocoa_imports() {
return
string() +
- "#import <Cocoa/Cocoa.h>\n" +
+ "#import <Foundation/Foundation.h>\n" +
"\n";
}
* under the License.
*/
-#import <Cocoa/Cocoa.h>
+#import <Foundation/Foundation.h>
@interface TException : NSException {
}
* under the License.
*/
-#import <Cocoa/Cocoa.h>
+#import <Foundation/Foundation.h>
@protocol TProcessor <NSObject>
* under the License.
*/
-#import <Cocoa/Cocoa.h>
+#import <Foundation/Foundation.h>
#import "TTransport.h"
* under the License.
*/
-#import <Cocoa/Cocoa.h>
+#import <Foundation/Foundation.h>
#import "TProtocol.h"
#import "TTransport.h"
* under the License.
*/
-#import <Cocoa/Cocoa.h>
+#import <Foundation/Foundation.h>
#import "TProtocolFactory.h"
#import "TProcessor.h"
* under the License.
*/
-#import <Cocoa/Cocoa.h>
+#import <Foundation/Foundation.h>
#import "TSocketServer.h"
#import "TNSFileHandleTransport.h"
#import "TProtocol.h"
* under the License.
*/
-#import <Cocoa/Cocoa.h>
+#import <Foundation/Foundation.h>
#import "TTransport.h"
@interface THTTPClient : NSObject <TTransport> {
*/
-#import <Cocoa/Cocoa.h>
+#import <Foundation/Foundation.h>
#import "TTransport.h"
@interface TNSFileHandleTransport : NSObject <TTransport> {
* under the License.
*/
-#import <Cocoa/Cocoa.h>
+#import <Foundation/Foundation.h>
#import "TTransport.h"
@interface TNSStreamTransport : NSObject <TTransport> {
* under the License.
*/
-#import <Cocoa/Cocoa.h>
+#import <Foundation/Foundation.h>
#import "TNSStreamTransport.h"
@interface TSocketClient : TNSStreamTransport {
* under the License.
*/
-#import <Cocoa/Cocoa.h>
+#import <Foundation/Foundation.h>
#import "TSocketClient.h"
@implementation TSocketClient