OSDN Git Service

VP24マージ
[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  = 24;
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(VP0024)";
40 static const char *PCX_VERSTRING        = "v0.1218(VP0024)";
41
42 #if 1 /* for VP extend version */
43 #define VERSION_EX 1
44 static const char *PCP_CLIENT_VERSION_EX_PREFIX = "IM"; // 2bytes only
45 static const int  PCP_CLIENT_VERSION_EX_NUMBER = 7651;
46 static const char *PCX_AGENTEX = "PeerCast/0.1218(IM7651)";
47 static const char *PCX_VERSTRING_EX = "v0.1218(IM7651)";
48 #endif
49
50 // ------------------------------------------------
51
52
53 #endif