A
download Util.h
Language: C
License: GPL
Copyright: (C) 1999 - 2002 Albert L. Faber
LOC: 22
Project Info
CDex(cdexos)
Server: SourceForge
Type: cvs
...rge\c\cdexos\cdexos\cdexos\
   .cvsignore
   ASFErr.h
   AsyncEncoder.cpp
   AsyncEncoder.h
   AudioFile.cpp
   AudioFile.h
   AutoDetect.cpp
   AutoDetect.h
   Cddb.cpp
   Cddb.h
   CDdbDlg.cpp
   CDdbDlg.h
   CddbMatch.cpp
   CddbMatch.h
   CDDBSubmitOpts.cpp
   CDDBSubmitOpts.h
   Cdex.cpp
   CDex.dsp
   cdex.dsw
   CDex.exe.manifest
   Cdex.h
   CDex.rc
   CDexDoc.cpp
   CDexDoc.h
   CdexFileOpen.cpp
   CdexFileOpen.h
   CDexUserMsg.h
   CDexView.cpp
   CDexView.h
   CDInfo.cpp
   CDInfo.h
   CDPlay.cpp
   CDPlay.h
   CDPlayDigital.cpp
   CDPlayDigital.h
   CDPlayerIni.cpp
   CDPlayerIni.h
   CDPropPage.cpp
   CDPropPage.h
   CdrDao.cpp
   CdrDao.h
   ChildProcess.cpp
   ChildProcess.h
   choosedirdlg.cpp
   choosedirdlg.h
   Codec.cpp
   Codec.h
   CodecDlg.cpp
   CodecDlg.h
   Config.cpp
   Config.h
   ConfigDlg.cpp
   ConfigDlg.h
   CopyDlg.cpp
   CopyDlg.h
   CTimeTrack.cpp
   CTimeTrack.h
   DDXGetFile.cpp
   DDXGetFile.h
   ddxgetfolder.cpp
   ddxgetfolder.h
   DIB.CPP
   DIB.H
   DIBStatic.cpp
   DIBStatic.h
   DropDlg.cpp
   DropDlg.h
   EncoderPropPage.cpp
   EncoderPropPage.h
   EnterProfileName.cpp
   EnterProfileName.h
   FileCompareDlg.cpp
   FileCompareDlg.h
   FileExistWarning.cpp
   FileExistWarning.h
   FileFormatInfoDlg.cpp
   FileFormatInfoDlg.h
   FileName.cpp
   FileName.h
   FilenamePropPage.cpp
   FilenamePropPage.h
   FileUtil.cpp
   FileUtil.h
   FileVersion.cpp
   FileVersion.h
   FrameAnalyzer.cpp
   GenericPropPage.cpp
   GenericPropPage.h
   GenInfoDlg.cpp
   GenInfoDlg.h
   GenreEditDlg.cpp
   GenreEditDlg.h
   GenreTable.cpp
   GenreTable.h
   HistEdit.cpp
   HistEdit.h
   HyperLink.cpp
   HyperLink.h
   ID3Tag.cpp
   ID3Tag.h
   IMapi.cpp
   IMapi.h
   Ini.cpp
   Ini.h
   ISndStream.cpp
   ISndStream.h
   ISndStreamMPEG.cpp
   ISndStreamMPEG.h
   ISndStreamOGG.cpp
   ISndStreamOGG.h
   ISndStreamWav.cpp
   ISndStreamWav.h
   ISndStreamWinAmp.cpp
   ISndStreamWinAmp.h
   ISndStreamWMA.cpp
   ISndStreamWMA.h
   lame_enc.ini
   langdialog.cpp
   langdialog.h
   Language.cpp
   Language.h
   LineList.cpp
   LineList.h
   ListCtrlSort.cpp
   ListCtrlSort.h
   LocalCDDBPropPage.cpp
   LocalCDDBPropPage.h
   MainFrm.cpp
   MainFrm.h
   MakeHelp.bat
   MCI_CD.cpp
   MCI_CD.h
   MFECToolTip.cpp
   MFECToolTip.h
   MixerBase.cpp
   MixerBase.h
   MixerFader.cpp
   MixerFader.h
   Mp3toRiffWavDlg.cpp
   Mp3toRiffWavDlg.h
   MP3ToWavDlg.cpp
   MP3ToWavDlg.h
   MPEGHeader.cpp
   MPEGHeader.h
   MpegToWavSettings.cpp
   MpegToWavSettings.h
   MusicBrainz.cpp
   MusicBrainz.h
   nserror.h
   OpenFileDlg.cpp
   OpenFileDlg.h
   OSndStream.cpp
   OSndStream.h
   OSndStreamWAV.cpp
   OSndStreamWAV.h
   PCopyDlg.cpp
   PCopyDlg.h
   PlayerFrame.cpp
   PlayerFrame.h
   PlayerView.cpp
   PlayerView.h
   PlayToolBar.cpp
   PlayToolBar.h
   PlayWavStream.cpp
   PlayWavStream.h
   Plot.cpp
   Plot.h
   ProfileMP2.bat
   RecordFiles.cpp
   RecordFiles.h
   RecordWavStream.cpp
   RecordWavStream.h
   Registry.cpp
   Registry.h
   RemoteCDDBPropPage.cpp
   RemoteCDDBPropPage.h
   ReplaceIllCharsDlg.cpp
   ReplaceIllCharsDlg.h
   resource.h
   resource.hm
   RiffWavToMp3.cpp
   RiffWavToMp3.h
   RipInfoDB.cpp
   RipInfoDB.h
   RipStatusDlg.cpp
   RipStatusDlg.h
   SeekSlider.cpp
   SeekSlider.h
   SndStream.cpp
   SndStream.h
   SndStreamFactory.cpp
   SndStreamFactory.h
   StaticFilespec.cpp
   StaticFilespec.h
   StatusReporter.cpp
   StatusReporter.h
   StdAfx.cpp
   StdAfx.h
   TaskInfo.cpp
   TaskInfo.h
   Tasks.cpp
   Tasks.h
   TextFile.cpp
   TextFile.h
   TextProgressCtrl.cpp
   TextProgressCtrl.h
   TitleBar.cpp
   TitleBar.h
   TransBmp.cpp
   TransBmp.h
   Util.cpp
   Util.h
   UtilToolBar.cpp
   UtilToolBar.h
   Wavtowma.cpp
   wavtowma.h
   WinampInConfig.cpp
   WinampInConfig.h

/*
** Copyright (C) 1999 - 2002 Albert L. Faber
**  
** 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/

#ifndef UTIL_H_INCLUDED
#define UTIL_H_INCLUDED

#define ForceCloseHandle(x) if (x) { CloseHandle(x); x = NULL; }

#include "CDRip/CDRip.h"
#include "Language.h"

void InitUtil(void);
DOUBLE GetMyFreeDiskSpace(CString& strPath);
BOOL IsWindowsNTOS();

BOOL AsciiOnly( const CString& strToTest );

BOOL CheckNoFileOverwrite( CWnd* pWnd, CString strFileName, BOOL bAsk, BOOL& bYesToAll, BOOL& bNoToAll);

BOOL LoadDLL(	const CString& strDllName,
				const CString& strPath,
				HINSTANCE&		hDll,
				BOOL			bShowWarning,
				BOOL			bUnicodeDLL );

CDEX_ERR CalculateFileCrc32( const CString& strFileName, DWORD& dwCrc32 );

CString GetCDexAppPath();

INT QueryModuleDebugLevel( const CString& strModule );


extern CLanguage g_language;

BOOL UseFlatLookToolBar();

LPCSTR GetDosFileName( const CString& strPath );

#endif

About Koders | Resources | Downloads | Support | Black Duck | Terms of Service | DMCA | Privacy Policy | Contact Us