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 818 - (hide annotations) (download) (as text)
Sat Oct 20 02:21:29 2007 UTC (16 years, 5 months ago) by tsawada2
File MIME type: text/x-chdr
File size: 2013 byte(s)
Thread Contextual Menu Fix and Frameworks slimmed

1 tsawada2 3 /**
2 tsawada2 818 * $Id: CMRHostTypes.h,v 1.3 2007-10-20 02:21:29 tsawada2 Exp $
3 tsawada2 3 *
4     * CMRHostTypes.h
5     *
6     * Copyright (c) 2003, Takanori Ishikawa.
7     * See the file LICENSE for copying permission.
8     */
9    
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     // return temporary string
33 tsawada2 818 /*
34     Deprecated in BathyScaphe 1.6 and later.
35     */
36     //extern NSString *CMRGetHostStringFromBoardURLNoCopy(NSURL *anURL, NSString **bbs);
37 tsawada2 3
38    
39    
40    
41     extern bool can_readcgi(const char *host);
42    
43     // 2channelŒÝŠ·
44     extern bool is_2channel(const char *host);
45 tsawada2 238 extern bool is_be2ch(const char *host); // EUC ƒGƒ“ƒR�[ƒfƒBƒ“ƒO‚ª•K—v‚©‚Ç‚¤‚©‚ð”»’è‚·‚é�Û‚ÉŽg‚¤
46     extern bool is_2ch_belogin_needed(const char *host); // �‘‚«�ž‚Ý‚É Be ƒ�ƒOƒCƒ“‚ª•K�{‚©‚Ç‚¤‚©‚ð”»’è‚·‚é�Û‚ÉŽg‚¤
47 tsawada2 818
48     /*
49     NOTE: This function has not been deprecated in BathyScaphe 1.6, but naming of this function is confusing.
50     Use is_jbbs_livedoor(const char *host) instead.
51     */
52 tsawada2 3 extern bool is_jbbs_shita(const char *host);
53 tsawada2 818
54     /*
55     Available in BathyScaphe 1.6 and later.
56     */
57     extern bool is_jbbs_livedoor(const char *host);
58 tsawada2 3 extern bool is_machi(const char *host);
59    
60 tsawada2 818 /*
61     Deprecated in BathyScaphe 1.6 and later.
62     These BBSs has no longer been available recent years.
63     */
64     //extern bool is_jbbs(const char *host);
65     //extern bool is_shitaraba(const char *host);
66     //extern bool is_tanteifile(const char *host);
67 tsawada2 3
68 tsawada2 818 //extern bool can_offlaw(const char *host);
69     //extern bool kako_salad(const char *host, const char *bbs);
70     //extern bool bbs_qb(const char *host);
71 tsawada2 3
72    
73    
74    
75 tsawada2 818
76 tsawada2 3 #ifdef __cplusplus
77     }
78     #endif
79    
80     #endif /* HOSTTYPES_INCLUDED */

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