Open-Source-Software-Entwicklung und Downloads

Browse Subversion Repository

Contents of /bathyscaphe/trunk/application/source/browser/BSDBThreadList.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1422 - (show annotations) (download) (as text)
Tue May 1 13:07:47 2012 UTC (12 years ago) by masakih
File MIME type: text/x-chdr
File size: 1831 byte(s)
change task classes for thread list.

1 //
2 // BSDBThreadList.h
3 // BathyScaphe
4 //
5 // Created by Hori,Masaki on 05/07/19.
6 // Copyright 2005-2008 BathyScaphe Project. All rights reserved.
7 // encoding="UTF-8"
8 //
9
10 #import <Cocoa/Cocoa.h>
11 #import "CMRThreadsList.h"
12
13 #import <SQLiteDB.h>
14
15 #import "CMRTask.h"
16
17 @class BoardListItem, BSThreadListItem;
18
19 @interface BSDBThreadList : CMRThreadsList<BSThreadsListDataSource>
20 {
21 id mCursor;
22 NSLock *mCursorLock;
23
24 BoardListItem *mBoardListItem;
25 NSString *mSearchString;
26
27 id<CMRTask> mTask;
28 NSLock *mTaskLock;
29
30 id<CMRTask> mUpdateTask;
31
32 NSArray *mSortDescriptors;
33
34 NSError *rebuildError;
35 }
36
37 - (id)initWithBoardListItem:(BoardListItem *)item;
38 + (id)threadListWithBoardListItem:(BoardListItem *)item;
39
40 - (void)setBoardListItem:(BoardListItem *)item;
41 - (id)boardListItem;
42
43 - (id)searchString;
44 - (NSArray *)sortDescriptors;
45 - (void)setSortDescriptors:(NSArray *)inDescs;
46
47 - (BSThreadsListViewModeType)viewMode;
48 - (void)setViewMode:(BSThreadsListViewModeType)mode;
49
50 - (void)updateCursor;
51 - (void)updateFilteredThreadsIfNeeded;
52
53 - (NSUInteger)indexOfNextUpdatedThread:(NSUInteger)currentIndex;
54
55 - (void)updateThreadItem:(NSDictionary *)userInfo; // Available in BathyScaphe 1.6.5 "Prima Aspalas" and later.
56 - (void)cleanUpThreadItem:(NSArray *)threadFilePaths; // Available in BathyScaphe 1.6.5 "Prima Aspalas" and later.
57 - (void)toggleDatOchiThreadItemWithPath:(NSString *)path; // Available in BathyScaphe 1.6.5 "Prima Aspalas" and later.
58 // Available in BathyScaphe 2.0 "Final Moratorium" and later.
59 - (void)setLabel:(NSUInteger)label forThreadItemWithPath:(NSString *)path;
60
61 @property(readwrite, retain) NSError *rebuildError;
62 @end
63
64 extern NSString *BSDBThreadListDidFinishUpdateNotification;
65 extern NSString *BSDBThreadListWantsPartialReloadNotification; // Available in BathyScaphe 1.6.5 "Prima Aspalas" and later.

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