forked from BearWare/TeamTalk5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAppInfo.h
50 lines (44 loc) · 2.42 KB
/
AppInfo.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/*
* Copyright (c) 2005-2018, BearWare.dk
*
* Contact Information:
*
* Bjoern D. Rasmussen
* Kirketoften 5
* DK-8260 Viby J
* Denmark
* Email: [email protected]
* Phone: +45 20 20 54 59
* Web: http://www.bearware.dk
*
* This source code is part of the TeamTalk SDK owned by
* BearWare.dk. Use of this file, or its compiled unit, requires a
* TeamTalk SDK License Key issued by BearWare.dk.
*
* The TeamTalk SDK License Agreement along with its Terms and
* Conditions are outlined in the file License.txt included with the
* TeamTalk SDK distribution.
*
*/
#pragma once
#define COMPANYNAME _T("BearWare.dk")
#define APPVERSION_SHORT _T("5.17.0")
#define APPVERSION _T( TEAMTALK_VERSION ) _T(" - Unreleased")
#define APPTITLE _T("TeamTalk 5 Classic v. ") APPVERSION
#define APPNAME _T("TeamTalk 5 Classic")
#define APPTITLE_SHORT _T("TeamTalk5Classic")
#define SETTINGS_FILE "TeamTalk5Classic.xml"
#define SETTINGS_DEFAULT_FILE "TeamTalk5Classic.xml.default"
#define MANUALFILE _T("TeamTalk5.chm")
#define WEBSITE _T("http://www.bearware.dk")
#define TEAMTALK_INSTALLDIR _T("BearWare.dk")
#define TTURL _T("tt://")
#define TT_XML_ROOTNAME "teamtalk"
#define TTFILE_EXT ".tt"
#define URL_PUBLICSERVER _T("http://www.bearware.dk/teamtalk/tt5servers.php?client=") APPTITLE_SHORT _T("&version=") APPVERSION_SHORT _T("&dllversion=") _T( TEAMTALK_VERSION ) _T("&os=Windows")
#define URL_APPUPDATE _T("http://www.bearware.dk/teamtalk/tt5update.php?client=") APPTITLE_SHORT _T("&version=") APPVERSION_SHORT _T("&dllversion=") _T( TEAMTALK_VERSION ) _T("&os=Windows")
#define WEBLOGIN_BEARWARE_USERNAME "bearware"
#define WEBLOGIN_BEARWARE_USERNAMEPOSTFIX "@bearware.dk"
#define WEBLOGIN_URL _T("https://www.bearware.dk/teamtalk/weblogin.php?client=") APPTITLE_SHORT _T("&version=") APPVERSION_SHORT _T("&dllversion=") _T( TEAMTALK_VERSION ) _T("&os=Windows")
#define WEBLOGIN_BEARWARE_URLAUTH(uid, passwd) WEBLOGIN_URL _T("&service=bearware&action=auth&username=") + CString(uid) + _T("&password=") + CString(passwd)
#define WEBLOGIN_BEARWARE_URLTOKEN(uid, token, accesstoken) WEBLOGIN_URL _T("&service=bearware&action=clientauth&username=") + CString(uid) + _T("&token=") + CString(token) + _T("&accesstoken=") + CString(accesstoken)