-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathAppDelegate.h
51 lines (42 loc) · 1.16 KB
/
AppDelegate.h
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
//
// AppDelegate.h
// spires
//
// Created by Yuji on 8/28/09.
// Copyright 2009 Y. Tachikawa. All rights reserved.
//
#if TARGET_OS_IPHONE
@import UIKit;
#define NSApp InspireAppDelegate
@protocol AppDelegate
-(void)querySPIRES:(NSString*)search;
-(void)handleURL:(NSURL*) url;
-(void)postMessage:(NSString*)message;
-(BOOL)currentListIsArxivReplaced;
-(UIViewController*)presentingViewController;
@end
#import "InspireAppDelegate.h"
#else
@import AppKit;
extern NSString *ArticleDropPboardType;
extern NSString *ArticleListDropPboardType;
@protocol AppDelegate
-(BOOL)currentListIsArxivReplaced;
-(void)addSimpleArticleListWithName:(NSString*)name;
-(void)addArxivArticleListWithName:(NSString*)name;
-(NSWindow*)mainWindow;
-(void)showInfoOnAssociation;
-(void)handleURL:(NSURL*) url;
-(void)querySPIRES:(NSString*)search;
-(void)postMessage:(NSString*)message;
-(void)makeTableViewFirstResponder;
-(void)makeSideViewFirstResponder;
-(void)addToTeXLog:(NSString*)log;
-(void)presentFileSaveError;
/*-(void)startUpdatingMainView:(id)sender;
-(void)stopUpdatingMainView:(id)sender;*/
@end
@interface NSApplication (AppDelegate)
-(id<AppDelegate>)appDelegate;
@end
#endif