Skip to content

Commit

Permalink
Soft name change
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan386 committed Oct 3, 2017
1 parent 7903e74 commit 64541b5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
8 changes: 4 additions & 4 deletions shareaza/Shareaza.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ CShareazaApp::CShareazaApp()
ZeroMemory( m_pBTVersion, sizeof( m_pBTVersion ) );

// BugTrap http://www.intellesoft.net/
BT_SetAppName( CLIENT_NAME_T );
BT_SetAppName( MOD_CLIENT_NAME_T );
BT_SetFlags( BTF_INTERCEPTSUEF | BTF_SHOWADVANCEDUI | BTF_DESCRIBEERROR | BTF_DETAILEDMODE | BTF_ATTACHREPORT | BTF_EDITMAIL );
BT_SetExitMode( BTEM_CONTINUESEARCH );
BT_SetDumpType( 0x00001851 /* MiniDumpWithDataSegs | MiniDumpScanMemory | MiniDumpWithIndirectlyReferencedMemory | MiniDumpWithFullMemoryInfo | MiniDumpWithThreadInfo */ );
Expand Down Expand Up @@ -384,7 +384,7 @@ BOOL CShareazaApp::InitInstance()
if ( ! m_cmdInfo.m_bNoAlphaWarning && ( tCompileTime + tTimeOut ) < tCurrent )
{
if ( MsgBox(
_T("This is a pre-release version of ") CLIENT_NAME_T _T(", and the beta testing period has ended. ")
_T("This is a pre-release version of ") MOD_CLIENT_NAME_T _T(", and the beta testing period has ended. ")
_T("Please download the full, official release from ") WEB_SITE_T _T("."), MB_ICONQUESTION|MB_OK, 0, NULL, 30 ) != IDOK )
return FALSE;
}
Expand All @@ -393,7 +393,7 @@ BOOL CShareazaApp::InitInstance()
if ( ! m_cmdInfo.m_bNoAlphaWarning && m_cmdInfo.m_bShowSplash )
{
if ( MsgBox(
_T("WARNING: This is an ALPHA TEST version of ") CLIENT_NAME_T _T(".\n\n")
_T("WARNING: This is an ALPHA TEST version of ") MOD_CLIENT_NAME_T _T(".\n\n")
_T("It is NOT FOR GENERAL USE, and is only for testing specific features in a controlled ")
_T("environment. It will frequently stop running, or display debug information to assist testing.\n\n")
_T("If you wish to actually use this software, you should download ")
Expand Down Expand Up @@ -1085,7 +1085,7 @@ void CShareazaApp::InitResources()

BT_SetAppVersion( m_sVersionLong );

m_sSmartAgent = CLIENT_NAME_T;
m_sSmartAgent = MOD_CLIENT_NAME_T;
m_sSmartAgent += _T(" ");
m_sSmartAgent += m_sVersion;

Expand Down
10 changes: 6 additions & 4 deletions shareaza/Shareaza.h
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,8 @@ __int64 GetRandomNum<__int64>(const __int64& min, const __int64& max);
#define CLIENT_NAME "Shareaza"
#define CLIENT_NAME_T _T( CLIENT_NAME )

#define MOD_CLIENT_NAME_T _T("i") CLIENT_NAME_T

// Client's main window class name
#define CLIENT_HWND CLIENT_NAME_T _T("MainWnd")

Expand All @@ -431,16 +433,16 @@ __int64 GetRandomNum<__int64>(const __int64& min, const __int64& max);

// 4 Character vendor code (used on G1, G2)
// BEAR, LIME, RAZA, RAZB, etc
#define VENDOR_CODE "RAZA"
#define VENDOR_CODE "RAZI"

// ed2k client ID number.
// 0 = eMule, 1 = cDonkey, 4 = old Shareaza alpha/beta/mod/fork, 0x28 (40) = Shareaza, 0xcb (203) = ShareazaPlus with RazaCB core, etc
#define ED2K_CLIENT_ID 40
#define ED2K_CLIENT_ID 41

// 2 Character BT peer-id code
// SZ = Shareaza, S~ = old Shareaza alpha/beta , CB = ShareazaPlus with RazaCB core, AZ = Azureus, etc
#define BT_ID1 'S'
#define BT_ID2 'Z'
#define BT_ID1 'i'
#define BT_ID2 'S'

#define WEB_SITE "http://ivan386.github.io/"
#define WEB_SITE_T _T( WEB_SITE )
Expand Down

0 comments on commit 64541b5

Please sign in to comment.