File: main.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 (47 lines) | stat: -rw-r--r-- 962 bytes parent folder | download
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
/*
copyright 2002 Alexander Malmberg <alexander@malmberg.org>
*/

#ifndef main_h
#define main_h

#include "MsgDB.h"

@class NSApplication,NSMutableDictionary;
@class FolderListController,LogWindowController,PreferencesWindowController;
@class CWMessage;

extern NSString *DefaultEncodingChangedNotification;

@interface AppDelegate : NSObject
{
	NSApplication *app;

	NSMutableDictionary *folder_windows;
	MsgDB *mdb;

	FolderListController *folder_list;
	LogWindowController *log_window;

	PreferencesWindowController *preferences_window;
}
-(void) openFolderWindow: (NSString *)folder_name;
-(void) openMessageWindow: (msg_id_t)mid;

-(void) composeArticle: (NSDictionary *)headers;
-(void) composeFollowupToMessage: (CWMessage *)msg;


-(void) postArticleFrom: (id)sender : (const unsigned char *)data : (int)length; /* TODO */

@end

@interface AppDelegate (prefs)
-(void) openPreferences: (id)sender;
@end
	     

extern AppDelegate *app_delegate;

#endif