소스 검색

Moved BBSystemAppDelegate to system.h. Resolves #162

Brucey 3 년 전
부모
커밋
6c7034734c
2개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. 5 0
      systemdefault.mod/system.h
  2. 0 4
      systemdefault.mod/system.macos.m

+ 5 - 0
systemdefault.mod/system.h

@@ -34,6 +34,11 @@ void bbSystemEmitOSEvent( HWND hwnd,UINT msg,WPARAM wParam,LPARAM lParam,BBObjec
 
 
 #ifdef __OBJC__
 #ifdef __OBJC__
 #include <AppKit/AppKit.h>
 #include <AppKit/AppKit.h>
+
+@interface BBSystemAppDelegate : NSObject{
+}
+@end
+
 #else
 #else
 typedef void *NSView;
 typedef void *NSView;
 typedef void *NSEvent;
 typedef void *NSEvent;

+ 0 - 4
systemdefault.mod/system.macos.m

@@ -66,10 +66,6 @@ typedef struct AsyncOp{
 	BBObject *syncInfo;
 	BBObject *syncInfo;
 }AsyncOp;
 }AsyncOp;
 
 
-@interface BBSystemAppDelegate : NSObject{
-}
-@end
-
 static BBSystemAppDelegate *appDelegate;
 static BBSystemAppDelegate *appDelegate;
 
 
 static NSString *tmpNSString( BBString *str ){
 static NSString *tmpNSString( BBString *str ){