Logo Search packages:      
Sourcecode: talksoup.app version File versions  Download package

ConnectionController.h

/***************************************************************************
                                ConnectionController.h
                          -------------------
    begin                : Sun Mar 30 21:53:38 CST 2003
    copyright            : (C) 2003 by Andy Ruder
    email                : aeruder@yahoo.com
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

@class ConnectionController;

#ifndef CONNECTION_CONTROLLER_H
#define CONNECTION_CONTROLLER_H

@class NSString, KeyTextView, InputController, ContentController, NSArray;
@class NSColor, Channel, NSMutableDictionary, GNUstepOutput, NSFont;
@class NSDictionary;

#import <Foundation/NSObject.h>

@interface ConnectionController : NSObject
      {
            NSString *typedHost;
            int typedPort;
            
            NSString *preNick;
            NSString *userName;
            NSString *password;
            NSString *realName;
            
            KeyTextView *fieldEditor;
            InputController *inputController;
            id connection;
            ContentController *content;
            NSArray *tabCompletion;
            int tabCompletionIndex;
            
            NSMutableDictionary *nameToChannelData;
            
            BOOL registered;
      }
- initWithIRCInfoDictionary: (NSDictionary *)aDict;

- initWithIRCInfoDictionary: (NSDictionary *)aDict 
   withContentController: (ContentController *)aContent;

- connectToServer: (NSString *)aName onPort: (int)aPort;

- updateTopicInspector;

- (Channel *)dataForChannelWithName: (NSString *)aName;

- setNick: (NSString *)aString;
- (NSString *)nick;

- setRealName: (NSString *)aString;
- (NSString *)realName;

- setUserName: (NSString *)aString;
- (NSString *)userName;

- setPassword: (NSString *)aString;
- (NSString *)password;

- (InputController *)inputController;

- (id)connection;

- (ContentController *)contentController;

- (NSArray *)channelsWithUser: (NSString *)user;

- leaveChannel: (NSString *)channel;

- (KeyTextView *)fieldEditor;
@end

#endif

Generated by  Doxygen 1.6.0   Back to index