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

InputController.h

/***************************************************************************
                                InputController.h
                          -------------------
    begin                : Thu Mar 13 13:18:48 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 InputController;

#ifndef INPUT_CONTROLLER_H
#define INPUT_CONTROLLER_H

#import <Foundation/NSObject.h>
#import <Foundation/NSMapTable.h>

@class ConnectionController, NSText;

@interface InputController : NSObject
      {
            ConnectionController *controller;
            int historyIndex;
            NSMutableArray *history;
            NSMutableArray *modHistory;
      }
- initWithConnectionController: (ConnectionController *)aController;

- (void)previousHistoryItem: (NSText *)fieldEditor;
- (void)nextHistoryItem: (NSText *)fieldEditor;

- (void)lineTyped: (NSString *)command;
- (void)enterPressed: (id)sender;
@end

#endif

Generated by  Doxygen 1.6.0   Back to index