/* Apollo: Libpurple based Objective-C IM Client By Alex C. Schaefer & Adam Bellmore 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 Portions of this code are referenced from "Libpurple", courtesy of www.pidgin.im as well as AdiumX (www.adiumx.com). This code is full GPLv2, and a GPLv2.txt is contained in the source and program root for you to read. If not, please refer to the above address to obtain your own copy. Any questions or comments should be posted at http://apolloim.googlecode.com */ #import #import #import #import #import #import #import #import "Buddy.h" #import "common.h" @interface BuddyCell : UIImageAndTextTableCell { CGRect frame; Buddy * buddy; BOOL is_editing; id deligate; int count; CGPoint status_onscreen; CGPoint status_offscreen; CGPoint user_no_message; CGPoint user_with_message; UITextLabel * buddy_label; UITextLabel * protocol_label; UITextLabel * away_message_label; UITextLabel * message_count; UIImageView * away_image; UIImageView * idle_image; UIImageView * active_image; UIImageView * offline_image; UIImageView * away_image_conv; UIImageView * idle_image_conv; UIImageView * active_image_conv; UIImageView * offline_image_conv; UIImageView * buddy_icon; } -(id)initWithBuddy:(Buddy *) abuddy; -(void)setDeligate:(id) adeligate; -(void) reloadData; @end