All pastes #615368 Raw Edit

Channel.h

public text v1 · immutable
·published 2007-07-12 02:39 UTC
rendered paste body
//
//  Channel.h
//  EyeAreSee
//
//  Created by Peter Kendall on 7/9/07.
//  Copyright 2007 @PAK software. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "IRCConnection.h"

@interface Channel : NSObject
{
	NSString* name;
	NSMutableArray* users;
	NSTextStorage* contents;
	IRCConnection* parent;
	//flags
}
-(Channel*)initWithName: (NSString*)newName andParent: (IRCConnection*)connection;
-(NSString*)name;
-(IRCConnection*)parent;
-(void)dealloc;
@end