PathFunctions.h 1.1 KB

12345678910111213141516171819202122232425262728
  1. // FileZilla - a Windows ftp client
  2. // Copyright (C) 2002-2004 - Tim Kosse <[email protected]>
  3. // This program is free software; you can redistribute it and/or
  4. // modify it under the terms of the GNU General Public License
  5. // as published by the Free Software Foundation; either version 2
  6. // of the License, or (at your option) any later version.
  7. // This program is distributed in the hope that it will be useful,
  8. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. // GNU General Public License for more details.
  11. // You should have received a copy of the GNU General Public License
  12. // along with this program; if not, write to the Free Software
  13. // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  14. //Replacement of the Path functions defined in shlwapi.h / shlwapi.dll
  15. //shlwapi requires IE4, FileZilla should not!
  16. #pragma once
  17. CString PathAppend(CString path, LPCTSTR sub);
  18. void PathRemoveArgs(CString &path);
  19. void PathUnquoteSpaces(CString &path);
  20. CString PathFindExtension(CString path);
  21. void PathRemoveFileSpec(CString &path);