//
//  KMBSLogViewDelegate.h
//  BathyScaphe
//
//  Created by 堀 昌樹 on 12/04/22.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "KMDocument.h"
#import "KMBSLogViewController.h"

#import <SGAppKit/BSTitleRulerView.h>

@class KMBSLogPopUp;

@protocol KMBSLogViewDelegateOwner;

@interface KMBSLogViewDelegate : NSObject  <NSTextViewDelegate>
#if !__LP64__
{
	KMDocument *_doc;
	id <KMBSLogViewDelegateOwner> _owner;
}
#endif

@property (assign) KMDocument *doc;
@property (assign) id <KMBSLogViewDelegateOwner> owner;

- (void)colorizeID:(NSTextView *)textView;

@end

@protocol KMBSLogViewDelegateOwner <NSObject>
- (KMLinkHanlder *)linkHandler;

- (void)replyTo:(NSIndexSet *)messageIndexes;

- (void)magnifyEnough:(CGFloat)additionalScaleFactor;
- (void)rotateEnough:(CGFloat)rotatedDegree;

- (NSWindow *)window;
- (KMBSLogPopUp *)popUp;

- (void)colorizeID:(NSTextView *)textView;
@end
