OSDN Git Service

COUT切断機能を追加
[peercast-im/PeerCastIM.git] / c: / Git / PeerCast.root / PeerCast / core / common / version2.h
1 // ------------------------------------------------
2 // File : version2.h
3 // Date: 17-june-2005
4 // Author: giles
5 //
6 // (c) 2005 peercast.org
7 // ------------------------------------------------
8 // This program is free software; you can redistribute it and/or modify
9 // it under the terms of the GNU General Public License as published by
10 // the Free Software Foundation; either version 2 of the License, or
11 // (at your option) any later version.
12
13 // This program is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 // GNU General Public License for more details.
17 // ------------------------------------------------
18
19 #ifndef _VERSION2_H
20 #define _VERSION2_H
21
22 // ------------------------------------------------
23 #ifdef PRIVATE_BROADCASTER
24 static const char PCP_BROADCAST_FLAGS   = 0x01; 
25 static bool     PCP_FORCE_YP                            = true;
26 #else
27 static const char PCP_BROADCAST_FLAGS   = 0x00;
28 static bool     PCP_FORCE_YP                            = false;
29 #endif
30 // ------------------------------------------------
31 static const int PCP_CLIENT_VERSION             = 1218;
32 static const int PCP_CLIENT_VERSION_VP  = 27;
33 static const int PCP_ROOT_VERSION               = 1218;
34
35 static const int PCP_CLIENT_MINVERSION  = 1200;
36
37 static const char *PCX_AGENT            = "PeerCast/0.1218";    
38 static const char *PCX_AGENTJP          = "PeerCast/0.1218-J";
39 static const char *PCX_AGENTVP          = "PeerCast/0.1218(VP0027)";
40 static const char *PCX_VERSTRING        = "v0.1218(VP0027)";
41
42 extern int version_ex; // VERSION_EX\97L\8cø\89»\83t\83\89\83O
43
44 #if 1 /* for VP extend version */
45 //#define VERSION_EX 1
46 static const char *PCP_CLIENT_VERSION_EX_PREFIX = "IM"; // 2bytes only
47 static const int  PCP_CLIENT_VERSION_EX_NUMBER = 39;
48 static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0039)";
49 static const char *PCX_VERSTRING_EX = "v0.1218(IM0039)";
50
51 static const char *PCP_CLIENT_DIST_URL = "http://pecaim.net/";
52 #endif
53
54 // ------------------------------------------------
55
56
57 #endif