dev.stuconnolly.com / svn / safaritabs

  1. /*
  2.  *  WindowController.h
  3.  *
  4.  *  SafariTabs
  5.  *
  6.  *  Copyright (c) 2007 Stuart Connolly. All rights reserved.
  7.  *
  8.  *  This program is free software; you can redistribute it and/or
  9.  *  modify it under the terms of the GNU General Public License
  10.  *  as published by the Free Software Foundation; either version 2
  11.  *  of the License, or (at your option) any later version.
  12.  *
  13.  *  This program is distributed in the hope that it will be useful,
  14.  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  15.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16.  *  GNU General Public License for more details.
  17.  *
  18.  *  You should have received a copy of the GNU General Public License
  19.  *  along with this program; if not, write to the Free Software
  20.  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  21.  */
  22.  
  23. #import <Cocoa/Cocoa.h>
  24.  
  25. /*  This file is the header for Safari's WindowController class. It was produced by
  26.  *  reverse engineering Safari's mach-o-file using class-dump, available from
  27.  *  http://www.codethecode.com/Projects/class-dump/
  28.  *
  29.  *  This file is not strictly necessary but it does supress many compiler warnings
  30.  *  and is extremely useful as a reference for further development.
  31.  */
  32.  
  33. @interface WindowController : NSWindowController
  34. {
  35.     NSString *_multiWindowFrameAutosaveName;
  36.     BOOL _autosaveFrame;
  37.     BOOL _lastResizeWasProgrammatic;
  38. }
  39.  
  40. - (void)dealloc;
  41. - (void)_saveFrameIfAllowed;
  42. - (void)windowDidMove:(id)fp8;
  43. - (void)windowDidResize:(id)fp8;
  44. - (void)_windowWillClose:(id)fp8;
  45. - (BOOL)setMultiWindowFrameAutosaveName:(id)fp8;
  46. - (id)multiWindowFrameAutosaveName;
  47. - (void)_setFrameWithoutAutosaving:(struct _NSRect)fp8 programmatically:(BOOL)fp24;
  48. - (void)setFrameWithoutAutosaving:(struct _NSRect)fp8;
  49. - (void)setFrameProgrammatically:(struct _NSRect)fp8;
  50. - (struct _NSRect)defaultFrame;
  51. - (void)setFrameToDefault;
  52. - (void)_windowDidLoad;
  53. - (void)setFrameAutosaveEnabled:(BOOL)fp8;
  54. - (BOOL)frameAutosaveEnabled;
  55.  
  56. @end