Author: manolo
Date: 2011-11-23 10:06:38 -0800 (Wed, 23 Nov 2011)
New Revision: 9187
Log:
Made instance variables private.

Modified:
   branches/branch-3.0/src/fltk3/cocoa.mm

Modified: branches/branch-3.0/src/fltk3/cocoa.mm
===================================================================
--- branches/branch-3.0/src/fltk3/cocoa.mm      2011-11-23 09:54:16 UTC (rev 
9186)
+++ branches/branch-3.0/src/fltk3/cocoa.mm      2011-11-23 18:06:38 UTC (rev 
9187)
@@ -559,7 +559,9 @@
   breakMacEventLoop();
 }
 
-@interface FLWindow : NSWindow {
+@interface FLWindow : NSWindow 
+{
+  @private
   fltk3::Window *w;
   BOOL containsGLsubwindow;
 }
@@ -598,8 +600,6 @@
 @end
 
 @interface FLApplication : NSObject
-{
-}
 + (void)sendEvent:(NSEvent *)theEvent;
 @end
 
@@ -810,8 +810,8 @@
 
 @interface FLTextView : NSTextView 
 // this subclass is needed under OS X <= 10.5 but not under >= 10.6 where the 
base class is enough
-{
-}
+- (void)insertText:(id)aString;
+- (void)doCommandBySelector:(SEL)aSelector;
 @end
 @implementation FLTextView
 - (void)insertText:(id)aString
@@ -897,8 +897,6 @@
 #if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6
 <NSWindowDelegate, NSApplicationDelegate>
 #endif
-{
-}
 - (void)windowDidMove:(NSNotification *)notif;
 - (void)windowDidResize:(NSNotification *)notif;
 - (void)windowDidResignKey:(NSNotification *)notif;
@@ -1531,7 +1529,9 @@
 }
 
 
-@interface FLView : NSView <NSTextInput> {
+@interface FLView : NSView <NSTextInput> 
+{
+  @private
   int next_compose_length;
   bool in_key_event;
 }
@@ -2811,8 +2811,6 @@
 }
 
 @interface FLaboutItemTarget : NSObject 
-{
-}
 - (void)showPanel;
 - (void)printPanel;
 @end
@@ -2942,8 +2940,7 @@
   [menuItem release];
 }
 
-@interface FLMenuItem : NSMenuItem {
-}
+@interface FLMenuItem : NSMenuItem 
 - (void) doCallback:(id)unused;
 - (void) directCallback:(id)unused;
 @end

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to