From d7730685516d6ed6fc278a6ea74f7a5cf12e0042 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Mon, 5 Apr 2010 19:30:17 +0300 Subject: dos2unix --- path.h | 102 ++++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 51 insertions(+), 51 deletions(-) (limited to 'path.h') diff --git a/path.h b/path.h index 0c9929d..24cd8c9 100644 --- a/path.h +++ b/path.h @@ -1,52 +1,52 @@ -/* - -"Spam Filter"-Plugin for Miranda IM - -Copyright 2003-2006 Heiko Herkenrath - -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 ("SpamFilter-License.txt"); if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -*/ - -#ifndef SF_PATH_H__ -#define SF_PATH_H__ 1 - - -// -- Defines -// PMakePathPretty() and PMakePathUsable() -#define PC_ENVIRONMENTSTRINGS 0x00000001 -#define PC_ABSOLUTERELATIVE 0x00000002 -#define PC_ALLOW_WILDCARDS 0x00000004 - -// ConstructLocalPath(): -// (Reusing CSIDLs that are virtual folders) -#define CSIDL_EXT_EXECUTABLE CSIDL_DESKTOP -#define CSIDL_EXT_MODULE CSIDL_DRIVES -#define CSIDL_EXT_TEMP CSIDL_PRINTERS -#define CSIDL_EXT_CURRENT CSIDL_CONTROLS -#define CSIDL_EXT_MIRANDAPROFILE CSIDL_INTERNET - -// -- Prototypes -BOOL PConstructLocalPath(WCHAR* pszReturn, int nMainFolder, const WCHAR* pszSubFolders, const WCHAR* pszFileName, const WCHAR* pszOptFileExtension); -BOOL PPreparePathForWrite(HWND hwndDlg, const WCHAR* pszPath, BOOL bAskDirCreate, BOOL bContainsFileName); - -BOOL PIsValidFile(const WCHAR* pszFileName, const WCHAR* aszFileExtensions[], int nFileExtensions, const WCHAR* aszContentTypes[], int nContentTypes); - -void PMakePathPretty(WCHAR* pszPath, DWORD dwFlags); -DWORD PMakePathUsable(WCHAR* pszPath); - -BOOL PInstallFile(const WCHAR* pszFileName, const WCHAR* pszDestDir); -BOOL PInstallDLLFile(const WCHAR* pszFileName, BOOL bIgnoreLanguage, BOOL bIgnoreOpSystem); - +/* + +"Spam Filter"-Plugin for Miranda IM + +Copyright 2003-2006 Heiko Herkenrath + +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 ("SpamFilter-License.txt"); if not, write to the Free Software +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +*/ + +#ifndef SF_PATH_H__ +#define SF_PATH_H__ 1 + + +// -- Defines +// PMakePathPretty() and PMakePathUsable() +#define PC_ENVIRONMENTSTRINGS 0x00000001 +#define PC_ABSOLUTERELATIVE 0x00000002 +#define PC_ALLOW_WILDCARDS 0x00000004 + +// ConstructLocalPath(): +// (Reusing CSIDLs that are virtual folders) +#define CSIDL_EXT_EXECUTABLE CSIDL_DESKTOP +#define CSIDL_EXT_MODULE CSIDL_DRIVES +#define CSIDL_EXT_TEMP CSIDL_PRINTERS +#define CSIDL_EXT_CURRENT CSIDL_CONTROLS +#define CSIDL_EXT_MIRANDAPROFILE CSIDL_INTERNET + +// -- Prototypes +BOOL PConstructLocalPath(WCHAR* pszReturn, int nMainFolder, const WCHAR* pszSubFolders, const WCHAR* pszFileName, const WCHAR* pszOptFileExtension); +BOOL PPreparePathForWrite(HWND hwndDlg, const WCHAR* pszPath, BOOL bAskDirCreate, BOOL bContainsFileName); + +BOOL PIsValidFile(const WCHAR* pszFileName, const WCHAR* aszFileExtensions[], int nFileExtensions, const WCHAR* aszContentTypes[], int nContentTypes); + +void PMakePathPretty(WCHAR* pszPath, DWORD dwFlags); +DWORD PMakePathUsable(WCHAR* pszPath); + +BOOL PInstallFile(const WCHAR* pszFileName, const WCHAR* pszDestDir); +BOOL PInstallDLLFile(const WCHAR* pszFileName, BOOL bIgnoreLanguage, BOOL bIgnoreOpSystem); + #endif // SF_PATH_H__ \ No newline at end of file -- cgit v1.2.3