Main Page | Modules | Class Hierarchy | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

CrescatAppDelegate.m File Reference

Go to the source code of this file.

Functions

NSColor * EnsureColor (id aColor)
 Interpret an NSColor, NSData, or NSArray as NSColor.
void initialize ()
int defaultRows ()
int defaultColumns ()
NSArray * hosts ()
NSString * lastHost ()
void setLastHost: (NSString *hostName)
NSArray * userIDsForHost: (NSString *hostName)
NSString * lastUserForHost: (NSString *hostName)
void setLastUser:forHost: (NSString *userName,[forHost] NSString *hostName)
NSDictionary * settingsForHost:userID: (NSString *hostName,[userID] NSString *userID)
void setSettings:forHost:userID: (NSDictionary *settings,[forHost] NSString *hostName,[userID] NSString *userID)
void deleteHostName:userID: (NSString *hostName,[userID] NSString *nilForAll)
NSMutableDictionary * defaultHostSettings ()
NSFont * defaultFont ()
NSFont * printingFont ()
NSColor * cursorColor ()
NSColor * foreColor ()
NSColor * backColor ()
BOOL closeWhenSessionCloses ()
float proportionFromCursorDescription: (NSString *description)
NSString * protocolParamFromIndex: (int index)
NSString * cipherParamFromIndex: (int index)
float cursorProportion ()
PreferenceControllerpreferenceController ()
PreferenceControllersharedPreferenceController ()
BOOL searchCaseSensitive ()
BOOL searchWraps ()
NSString * searchString ()
int registerSessionWithBanner: (NSString *banner)
id init ()
IBAction showPreferences: (id sender)
IBAction showSessionManager: (id sender)
void prefControllerUpdate: (NSNotification *notice)
FindPanelControllerfindController ()
IBAction showFindPanel: (id sender)
IBAction performFindPanelAction: (id sender)
BOOL validateUserInterfaceItem: (id< NSValidatedUserInterfaceItem > anItem)
BOOL application:delegateHandlesKey: (NSApplication *application,[delegateHandlesKey] NSString *aKey)
id valueInKnownHostsWithName: (NSString *hostName)
id valueInKnownHostsAtIndex: (unsigned index)
NSArray * knownHosts ()
NSDictionary * defaultTerminalProperties ()
void setDefaultTerminalProperties: (NSDictionary *newProperties)
BOOL useLastSelection ()
void setUseLastSelection: (BOOL newValue)

Variables

implementation CrescatAppDelegate
static CrescatAppDelegate
sSharedDelegate = nil


Function Documentation

BOOL application:delegateHandlesKey: NSApplication *  application,
[delegateHandlesKey] NSString *  aKey
[virtual]
 

Definition at line 525 of file CrescatAppDelegate.m.

NSColor * backColor  )  [static, virtual]
 

Definition at line 340 of file CrescatAppDelegate.m.

Referenced by startInverse().

NSString * cipherParamFromIndex: int  index  )  [static, virtual]
 

Definition at line 381 of file CrescatAppDelegate.m.

BOOL closeWhenSessionCloses  )  [static, virtual]
 

Definition at line 347 of file CrescatAppDelegate.m.

Referenced by MyDocument::ptyTaskCompleted:.

NSColor * cursorColor  )  [static, virtual]
 

Definition at line 326 of file CrescatAppDelegate.m.

float cursorProportion  )  [static, virtual]
 

Definition at line 393 of file CrescatAppDelegate.m.

int defaultColumns  )  [static, virtual]
 

Definition at line 120 of file CrescatAppDelegate.m.

Referenced by IntegratedTSView::awakeFromNib.

NSFont * defaultFont  )  [static, virtual]
 

Definition at line 312 of file CrescatAppDelegate.m.

Referenced by NSTextStorage(terminalExtensions)::defaultFont.

NSMutableDictionary * defaultHostSettings  )  [static, virtual]
 

Definition at line 288 of file CrescatAppDelegate.m.

References CrescatAppDelegate::cursorColor, CrescatAppDelegate::defaultColumns, and CrescatAppDelegate::defaultRows.

Here is the call graph for this function:

int defaultRows  )  [static, virtual]
 

Definition at line 113 of file CrescatAppDelegate.m.

Referenced by IntegratedTSView::awakeFromNib.

NSDictionary * defaultTerminalProperties  )  [virtual]
 

Definition at line 556 of file CrescatAppDelegate.m.

void deleteHostName:userID: NSString *  hostName,
[userID] NSString *  nilForAll
[static, virtual]
 

Definition at line 254 of file CrescatAppDelegate.m.

NSColor* EnsureColor id  aColor  ) 
 

Interpret an NSColor, NSData, or NSArray as NSColor.

NSColors can be found as themselves, or archived in NSDatas, or in triplets of unsigned shorts. This function takes any of these and returns the corresponding NSColor.

Parameters:
aColor id, an NSColor, NSData, or NSArray encapsulating a color. If NSData, assumed to be encoded with NSArchiver. If NSArray, assumed to be three NSNumbers in the range 0..65535.
Return values:
The input NSColor if it was an NSColor, an autoreleased NSColor if the input was NSArray or NSData, or +[NSColor whiteColor] if the incoming type wasn't recognized.

Definition at line 11 of file CrescatAppDelegate.m.

Referenced by CrescatApplication::ColorAsArray, MyDocument::setBackColor:, MyDocument::setCursorColor:, and MyDocument::setForeColor:.

FindPanelController * findController  )  [virtual]
 

Definition at line 486 of file CrescatAppDelegate.m.

References CrescatAppDelegate::findPanel.

NSColor * foreColor  )  [static, virtual]
 

Definition at line 333 of file CrescatAppDelegate.m.

NSArray * hosts  )  [static, virtual]
 

Definition at line 127 of file CrescatAppDelegate.m.

Referenced by PreferenceController::loadUI, and HostManager::makeDataCache.

id init  )  [virtual]
 

Definition at line 447 of file CrescatAppDelegate.m.

References CrescatAppDelegate::sessionCounters.

void initialize  )  [static, virtual]
 

Definition at line 33 of file CrescatAppDelegate.m.

References CrescatAppDelegate::hosts.

Here is the call graph for this function:

NSArray * knownHosts  )  [virtual]
 

Definition at line 549 of file CrescatAppDelegate.m.

References CrescatAppDelegate::hosts.

Here is the call graph for this function:

NSString * lastHost  )  [static, virtual]
 

Definition at line 134 of file CrescatAppDelegate.m.

NSString * lastUserForHost: NSString *  hostName  )  [static, virtual]
 

Definition at line 163 of file CrescatAppDelegate.m.

IBAction performFindPanelAction: id  sender  )  [virtual]
 

Definition at line 498 of file CrescatAppDelegate.m.

Referenced by validateUserInterfaceItem:().

void prefControllerUpdate: NSNotification *  notice  )  [virtual]
 

Definition at line 466 of file CrescatAppDelegate.m.

PreferenceController * preferenceController  )  [virtual]
 

Definition at line 401 of file CrescatAppDelegate.m.

References CrescatAppDelegate::prefController.

NSFont * printingFont  )  [static, virtual]
 

Definition at line 319 of file CrescatAppDelegate.m.

float proportionFromCursorDescription: NSString *  description  )  [static, virtual]
 

Definition at line 354 of file CrescatAppDelegate.m.

NSString * protocolParamFromIndex: int  index  )  [static, virtual]
 

Definition at line 364 of file CrescatAppDelegate.m.

int registerSessionWithBanner: NSString *  banner  )  [virtual]
 

Definition at line 436 of file CrescatAppDelegate.m.

BOOL searchCaseSensitive  )  [virtual]
 

Definition at line 422 of file CrescatAppDelegate.m.

NSString * searchString  )  [static, virtual]
 

Definition at line 427 of file CrescatAppDelegate.m.

BOOL searchWraps  )  [virtual]
 

Definition at line 423 of file CrescatAppDelegate.m.

void setDefaultTerminalProperties: NSDictionary *  newProperties  )  [virtual]
 

Definition at line 562 of file CrescatAppDelegate.m.

void setLastHost: NSString *  hostName  )  [static, virtual]
 

Definition at line 140 of file CrescatAppDelegate.m.

void setLastUser:forHost: NSString *  userName,
[forHost] NSString *  hostName
[static, virtual]
 

Definition at line 175 of file CrescatAppDelegate.m.

void setSettings:forHost:userID: NSDictionary *  settings,
[forHost] NSString *  hostName,
[userID] NSString *  userID
[static, virtual]
 

Definition at line 222 of file CrescatAppDelegate.m.

NSDictionary * settingsForHost:userID: NSString *  hostName,
[userID] NSString *  userID
[static, virtual]
 

Definition at line 209 of file CrescatAppDelegate.m.

void setUseLastSelection: BOOL  newValue  )  [virtual]
 

Definition at line 600 of file CrescatAppDelegate.m.

PreferenceController * sharedPreferenceController  )  [static, virtual]
 

Definition at line 416 of file CrescatAppDelegate.m.

IBAction showFindPanel: id  sender  )  [virtual]
 

Definition at line 493 of file CrescatAppDelegate.m.

IBAction showPreferences: id  sender  )  [virtual]
 

Definition at line 454 of file CrescatAppDelegate.m.

IBAction showSessionManager: id  sender  )  [virtual]
 

Definition at line 459 of file CrescatAppDelegate.m.

References CrescatAppDelegate::hostManager.

BOOL useLastSelection  )  [virtual]
 

Definition at line 592 of file CrescatAppDelegate.m.

Referenced by PreferenceController::harvestUI.

NSArray * userIDsForHost: NSString *  hostName  )  [static, virtual]
 

Definition at line 148 of file CrescatAppDelegate.m.

BOOL validateUserInterfaceItem: id <NSValidatedUserInterfaceItem>  anItem  )  [virtual]
 

Definition at line 505 of file CrescatAppDelegate.m.

References performFindPanelAction:(), CrescatAppDelegate::showFindPanel:, CrescatAppDelegate::showPreferences:, and CrescatAppDelegate::showSessionManager:.

Here is the call graph for this function:

id valueInKnownHostsAtIndex: unsigned  index  )  [virtual]
 

Definition at line 538 of file CrescatAppDelegate.m.

References CrescatAppDelegate::hosts.

Here is the call graph for this function:

id valueInKnownHostsWithName: NSString *  hostName  )  [virtual]
 

Definition at line 531 of file CrescatAppDelegate.m.


Variable Documentation

implementation CrescatAppDelegate static CrescatAppDelegate* sSharedDelegate = nil
 

Definition at line 31 of file CrescatAppDelegate.m.


Generated on Fri Sep 30 12:01:11 2005 for Crescat by  doxygen 1.4.4