File: MessageViewController.h

package info (click to toggle)
lusernet.app 0.4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 828 kB
  • sloc: objc: 8,495; makefile: 22
file content (56 lines) | stat: -rw-r--r-- 856 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*
copyright 2002 Alexander Malmberg <alexander@malmberg.org>
*/

#ifndef MessageViewController_h
#define MessageViewController_h

@class NSTextView,NSScrollView,NSMutableDictionary;
@class CWMessage;

#include "MsgDB.h"

@interface MessageViewController : NSObject
{
	NSTextView *tv;
	NSScrollView *sv;

	MsgDB *mdb;
	msg_id_t mid;
	CWMessage *cur_message;

	/* actually an NSMapTable */
	void *cur_options;

	int cur_font;
	int show_source;
}

- initWithMsgDB: (MsgDB *)m  textView: (NSTextView *)textview  scrollView: (NSScrollView *)scrollview;

-(void) setMid: (msg_id_t)m;

-(BOOL) atEnd;

/* returns YES if we hit the end of the message */
-(BOOL) scrollDown;

-(void) lineUp;
-(void) lineDown;


-(void) switchFont;

-(void) showSource;


-(void) messageDownload;

-(void) messageSave;

-(void) encodingChanged: (NSNotification *)n;

@end

#endif