//
//  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;
@end

@protocol KMBSLogViewDelegateOwner <NSObject>
- (BOOL)clickedOnLink:(id)aLink;

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

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

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