Develop and Download Open Source Software

Browse Subversion Repository

Annotation of /bathyscaphe/trunk/frameworks/CocoMonar/framework/src/CMRHostTypes.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1315 - (hide annotations) (download) (as text)
Sat Feb 26 14:49:36 2011 UTC (13 years ago) by tsawada2
File MIME type: text/x-chdr
File size: 2175 byte(s)
Minor Fixes
1 tsawada2 1159 //
2     // CMRHostTypes.h
3     // BathyScaphe
4     //
5     // Updated by Tsutomu Sawada on 10/03/07.
6 tsawada2 1315 // Copyright 2005-2011 BathyScaphe Project. All rights reserved.
7 tsawada2 1159 // encoding="UTF-8"
8     //
9 tsawada2 3
10     #ifndef HOSTTYPES_INCLUDED
11     #define HOSTTYPES_INCLUDED
12     #ifdef __cplusplus
13     extern "C" {
14     #endif
15    
16     #import <Foundation/Foundation.h>
17    
18     /*
19     2channel.brd compatibility
20     --------------------------------
21     http://jbbs.shitaraba.com/business/767/
22     -->
23     (host) jbbs.shitaraba.com
24     (path) jbbs.shitaraba.com/business
25     (directory) 767
26     */
27 tsawada2 818
28 tsawada2 3 // return temporary cstring
29     extern const char *CMRGetHostCStringFromBoardURL(NSURL *anURL, const char **bbs);
30     // return copied string
31     extern NSString *CMRGetHostStringFromBoardURL(NSURL *anURL, NSString **bbs);
32 tsawada2 818 /*
33     Deprecated in BathyScaphe 1.6 and later.
34     */
35 tsawada2 1159 // return temporary string
36 tsawada2 818 //extern NSString *CMRGetHostStringFromBoardURLNoCopy(NSURL *anURL, NSString **bbs);
37 tsawada2 3
38    
39    
40    
41     extern bool can_readcgi(const char *host);
42    
43 tsawada2 1159 // 2channel互換
44 tsawada2 3 extern bool is_2channel(const char *host);
45 tsawada2 1315
46     // 純粋な2ちゃんねる(pink も除く) Available in BathyScaphe 2.0.3 and later.
47     extern bool is_2ch_except_pink(const char *host);
48 tsawada2 1159 /*
49     Deprecated in BathyScaphe 2.0 and later.
50     */
51     //extern bool is_be2ch(const char *host); // EUC エンコーディングが必要かどうかを判定する際に使う
52 tsawada2 818
53 tsawada2 1159 // 書き込みに Be ログインが必須かどうかを判定する際に使う
54     extern bool is_2ch_belogin_needed(const char *host);
55    
56 tsawada2 818 /*
57 tsawada2 1159 Deprecated in BathyScaphe 2.0 and later.
58 tsawada2 818 Use is_jbbs_livedoor(const char *host) instead.
59     */
60 tsawada2 3 extern bool is_jbbs_shita(const char *host);
61 tsawada2 818
62     /*
63     Available in BathyScaphe 1.6 and later.
64     */
65     extern bool is_jbbs_livedoor(const char *host);
66 tsawada2 3 extern bool is_machi(const char *host);
67    
68 tsawada2 818 /*
69     Deprecated in BathyScaphe 1.6 and later.
70     These BBSs has no longer been available recent years.
71     */
72     //extern bool is_jbbs(const char *host);
73     //extern bool is_shitaraba(const char *host);
74     //extern bool is_tanteifile(const char *host);
75 tsawada2 3
76 tsawada2 818 //extern bool can_offlaw(const char *host);
77     //extern bool kako_salad(const char *host, const char *bbs);
78     //extern bool bbs_qb(const char *host);
79 tsawada2 3
80    
81    
82    
83 tsawada2 818
84 tsawada2 3 #ifdef __cplusplus
85     }
86     #endif
87    
88     #endif /* HOSTTYPES_INCLUDED */

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