Changeset 4710

Show
Ignore:
Timestamp:
04/23/07 22:46:09 (2 years ago)
Author:
morris
Message:

Add abstract controller base class

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Footagehead/trunk/English.lproj/FullscreenWindow.nib/classes.nib

    r4709 r4710  
    66            LANGUAGE = ObjC;  
    77            OUTLETS = {"_imageView" = FHImageView; };  
    8             SUPERCLASS = WIWindowController;  
     8            SUPERCLASS = FHWindowController;  
    99        },  
    1010        { 
     
    1313            OUTLETS = {"_scrollView" = NSScrollView; };  
    1414            SUPERCLASS = NSView;  
     15        },  
     16        { 
     17            CLASS = FHWindowController;  
     18            LANGUAGE = ObjC;  
     19            SUPERCLASS = WIWindowController;  
    1520        },  
    1621        {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },  
  • Footagehead/trunk/English.lproj/Window.nib/classes.nib

    r4709 r4710  
    4242                "_tableView" = FHTableView;  
    4343            };  
    44             SUPERCLASS = WIWindowController;  
     44            SUPERCLASS = FHWindowController;  
    4545        },  
    4646        { 
     
    6161            OUTLETS = {"_imageScrollView" = NSScrollView; "_imageView" = FHImageView; };  
    6262            SUPERCLASS = WITableView;  
     63        },  
     64        { 
     65            CLASS = FHWindowController;  
     66            LANGUAGE = ObjC;  
     67            SUPERCLASS = WIWindowController;  
    6368        },  
    6469        { 
  • Footagehead/trunk/FHBrowserWindowController.h

    r4709 r4710  
    2727 */ 
    2828 
     29#import "FHWindowController.h" 
     30 
    2931@class FHTableView, FHImageView; 
    3032@class FHImageLoader, FHHandler; 
    3133 
    32 @interface FHBrowserWindowController : WIWindowController { 
     34@interface FHBrowserWindowController : FHWindowController { 
    3335        IBOutlet NSBox                                  *_contentBox; 
    3436        IBOutlet WISplitView                    *_splitView; 
  • Footagehead/trunk/FHFullscreenWindowController.h

    r4709 r4710  
    2727 */ 
    2828 
     29#import "FHWindowController.h" 
     30 
    2931@class FHImageView; 
    3032@class FHImageLoader; 
    3133 
    32 @interface FHFullscreenWindowController : WIWindowController { 
     34@interface FHFullscreenWindowController : FHWindowController { 
    3335        IBOutlet FHImageView            *_imageView; 
    3436         
  • Footagehead/trunk/Footagehead.xcodeproj/project.pbxproj

    r4709 r4710  
    156156                A58BE75009BB53C400C3C20D /* RotateRight.tiff in Resources */ = {isa = PBXBuildFile; fileRef = A58BE74F09BB53C400C3C20D /* RotateRight.tiff */; }; 
    157157                A599A110075F94F400A03BA5 /* FHFileCell.m in Sources */ = {isa = PBXBuildFile; fileRef = A599A10E075F94F400A03BA5 /* FHFileCell.m */; }; 
     158                A5A183EF0BDD5231004788EF /* FHWindowController.h in Copy Files (Frameworks) */ = {isa = PBXBuildFile; fileRef = A5A183ED0BDD5231004788EF /* FHWindowController.h */; }; 
     159                A5A183F00BDD5231004788EF /* FHWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = A5A183EE0BDD5231004788EF /* FHWindowController.m */; }; 
    158160                A5B1F611067B3AA100111D0A /* FHHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = A5B1F60F067B3AA100111D0A /* FHHandler.m */; }; 
    159161                A5B1F617067B3B7900111D0A /* FHFileHandler.m in Sources */ = {isa = PBXBuildFile; fileRef = A5B1F616067B3B7900111D0A /* FHFileHandler.m */; }; 
     
    267269                        files = ( 
    268270                                A5643D310A26056A00ADF4F5 /* WiredAdditions.framework in Copy Files (Frameworks) */, 
     271                                A5A183EF0BDD5231004788EF /* FHWindowController.h in Copy Files (Frameworks) */, 
    269272                        ); 
    270273                        name = "Copy Files (Frameworks)"; 
     
    422425                A599A10D075F94F400A03BA5 /* FHFileCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FHFileCell.h; sourceTree = "<group>"; }; 
    423426                A599A10E075F94F400A03BA5 /* FHFileCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FHFileCell.m; sourceTree = "<group>"; }; 
     427                A5A183ED0BDD5231004788EF /* FHWindowController.h */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.h; path = FHWindowController.h; sourceTree = "<group>"; }; 
     428                A5A183EE0BDD5231004788EF /* FHWindowController.m */ = {isa = PBXFileReference; fileEncoding = 5; lastKnownFileType = sourcecode.c.objc; path = FHWindowController.m; sourceTree = "<group>"; }; 
    424429                A5B1F60E067B3AA100111D0A /* FHHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FHHandler.h; sourceTree = "<group>"; }; 
    425430                A5B1F60F067B3AA100111D0A /* FHHandler.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FHHandler.m; sourceTree = "<group>"; }; 
     
    588593                        isa = PBXGroup; 
    589594                        children = ( 
     595                                77B1517E0BD8FEA2009B6183 /* FHBrowserWindowController.m */, 
     596                                77B1517D0BD8FEA2009B6183 /* FHBrowserWindowController.h */, 
    590597                                A587DF79055AA418005D2097 /* FHController.m */, 
    591598                                A587DF7D055AA418005D2097 /* FHController.h */, 
     
    602609                                77BD99500760B7380007D034 /* FHTableView.m */, 
    603610                                77BD994F0760B7380007D034 /* FHTableView.h */, 
    604                                 77B1517E0BD8FEA2009B6183 /* FHBrowserWindowController.m */, 
    605                                 77B1517D0BD8FEA2009B6183 /* FHBrowserWindowController.h */, 
     611                                A5A183EE0BDD5231004788EF /* FHWindowController.m */, 
     612                                A5A183ED0BDD5231004788EF /* FHWindowController.h */, 
    606613                        ); 
    607614                        name = Interface; 
     
    13611368                                77B151800BD8FEA2009B6183 /* FHBrowserWindowController.m in Sources */, 
    13621369                                A5B44F98087F9A2D003B1DA1 /* FHZipHandler.m in Sources */, 
     1370                                A5A183F00BDD5231004788EF /* FHWindowController.m in Sources */, 
    13631371                        ); 
    13641372                        runOnlyForDeploymentPostprocessing = 0;