/////////////////////////////////////////////////////////////////////////////// // // Notify CD Player for Windows NT and Windows 95 // // Copyright (c) 1996-1998, Mats Ljungqvist (mlt@cyberdude.com) // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. // /////////////////////////////////////////////////////////////////////////////// #pragma once ///////////////////////////////////////////////////////////////////// // // PROTOTYPES // ///////////////////////////////////////////////////////////////////// void UpdateTooltipOrCaption(BOOL bTooltipOrCaption, char* pzStr); void WritePrivateProfileInt(const char* pzApp, const char* pzSect, int nNum, const char* pzFile); void UpdateDiscInformation(BOOL bNotify, BOOL bTooltip, char* pzStr); void SaveConfig(); void CenterWindow(HWND hWnd, BOOL bVertical = TRUE); void MarkExport(); void InitTree(HWND hWnd); BOOL SetDiscInfo(); void DebugPrintf(const char* pzFormat, ...); void FixNewLine(BOOL bToNewLine, char** ppzStr); void CheckAmpersand(char* pzStr); void ChangeDefButton(HWND hDlg, int nIDSet, int nIDRemove); void AppendString(char** ppzPtr, const char* pzStr, int nLen); void DoHelp(HWND hWnd, LPHELPINFO lpHelp); void UpdateTrackCombo(HWND hWnd, int nID); void EncodeBase64(char* pzDest, ULONG nLen, const char* pxData); #ifdef SOCK BOOL GetString(SOCKET s, char* pzStr, int nLen, BOOL bNoClose = FALSE); int SendString(SOCKET s, char* pzStr); int SendAuthentication(SOCKET s); #endif BOOL CheckForNewVersion(); // Tray void NotifyAdd(HWND hWnd, UINT nID, HICON hIcon, char* pzStr); void NotifyModify(HWND hWnd, UINT nID, HICON hIcon, char* pzStr); void NotifyDelete(HWND hWnd, UINT nID); // Progress void ProgressOpen(HWND hParent, char* pzStr, int nStyle, DWORD dwMax); void ProgressClose(); void ProgressSet(int nCount); void ProgressSetStr(char* pzStr);