* Adium is the legal property of its developers, whose names are listed in the copyright file included * with this source distribution. * 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. * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General * Public License for more details. * You should have received a copy of the GNU General Public License along with this program; if not, * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #import "ESChatUserListController.h" #import <Adium/AIInterfaceControllerProtocol.h> #import <Adium/AIMessageEntryTextView.h> @class AIAccount, AIListContact, AIListObject, AIAccountSelectionView, AIMessageTabSplitView; @class AIMessageWindowController, AIMessageWindowOutgoingScrollView; @interface AIMessageViewController : NSObject <AIListControllerDelegate, AIChatViewController, AIMessageEntryTextViewDelegate> { IBOutlet NSView *view_contents; IBOutlet NSSplitView *splitView_textEntryHorizontal; IBOutlet NSSplitView *splitView_verticalSplit; IBOutlet AIMessageWindowOutgoingScrollView *scrollView_messages; IBOutlet NSView *view_messages; IBOutlet NSView *view_userList; IBOutlet AIAutoScrollView *scrollView_userList; IBOutlet AIListOutlineView *userListView; ESChatUserListController *userListController; IBOutlet NSButton *performAction; IBOutlet NSTextField *label_userCount; IBOutlet AIGradientView *actionBarView; IBOutlet AIMessageEntryTextView *textView_outgoing; IBOutlet NSScrollView *scrollView_textEntry; NSObject<AIMessageDisplayController> *messageDisplayController; IBOutlet AIAccountSelectionView *view_accountSelection; AIMessageWindowController *messageWindowController; BOOL accountSelectionVisible; BOOL suppressSendLaterPrompt; CGFloat userListMinWidth; NSUndoManager *undoManager; NSWritingDirection initialBaseWritingDirection; + (AIMessageViewController *)messageDisplayControllerForChat:(AIChat *)inChat; - (void)messageViewWillLeaveWindowController:(AIMessageWindowController *)inWindowController; - (void)messageViewAddedToWindowController:(AIMessageWindowController *)inWindowController; - (AIListContact *)listObject; - (AIListObject *)preferredListObject; - (NSArray *)selectedListObjects; - (NSObject<AIMessageDisplayController> *)messageDisplayController; - (void)adiumPrint:(id)sender; - (IBAction)sendMessage:(id)sender; - (IBAction)didSendMessage:(id)sender; - (IBAction)sendMessageLater:(id)sender; - (IBAction)showActionMenu:(id)sender; - (void)redisplaySourceAndDestinationSelector:(NSNotification *)notification; - (void)setAccountSelectionMenuVisibleIfNeeded:(BOOL)makeVisible; - (AIMessageEntryTextView *)textEntryView; - (void)makeTextEntryViewFirstResponder; - (void)clearTextEntryView; - (void)addToTextEntryView:(NSAttributedString *)inString; - (void)addDraggedDataToTextEntryView:(id <NSDraggingInfo>)draggingInfo; - (void)tabViewDidChangeVisibility;