オープンソース・ソフトウェアの開発とダウンロード

Subversion リポジトリの参照

Contents of /bathyscaphe/trunk/application/source/bbs/BoardWarrior.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1240 - (show annotations) (download) (as text)
Sun Sep 12 15:21:53 2010 UTC (13 years, 8 months ago) by tsawada2
File MIME type: text/x-chdr
File size: 1222 byte(s)
BoardWarrior Fix, Icon, image resources update, and more
1 //
2 // BoardWarrior.h
3 // BathyScaphe
4 //
5 // Created by Tsutomu Sawada on 06/08/06.
6 // Copyright 2006-2010 BathyScaphe Project. All rights reserved.
7 // encoding="UTF-8"
8 //
9
10 #import <Foundation/Foundation.h>
11
12 @class BSURLDownload, BSModalStatusWindowController;
13
14 enum {
15 BWDidFailInitializeAppleScript = -1000,
16 BWDidFailExecuteAppleScriptHandler = -1001//,
17 /* BWDidFailCreatingLogFile = -2000,
18 BWDidFailWritingLogToFile = -2001 // reserved */
19 };
20
21 @interface BoardWarrior : NSObject {
22 @private
23 BSURLDownload *m_currentDownload; // No retain/release
24 NSString *m_bbsMenuPath;
25
26 id m_delegate; // No retain/release
27
28 BSModalStatusWindowController *m_statusWindowController;
29 NSModalSession m_session;
30 }
31
32 + (id)warrior;
33
34 - (id)delegate;
35 - (void)setDelegate:(id)aDelegate;
36
37 - (BOOL)syncBoardLists;
38
39 - (BOOL)isInProgress;
40 - (NSString *)logFilePath;
41 @end
42
43
44 @interface NSObject(BoardWarriorDelegate)
45 - (void)warriorWillStartSyncing:(BoardWarrior *)warrior;
46 - (void)warriorDidFinishSyncing:(BoardWarrior *)warrior;
47 - (void)warrior:(BoardWarrior *)warrior didFailSync:(NSError *)error;
48 //- (void)warrior:(BoardWarrior *)warrior didFailLogging:(NSError *)error;
49 @end
50
51 extern NSString *const kBoardWarriorErrorDomain;

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26