1 /*******************************************************************************
\r
2 TPI - flexible but useless plug-in framework.
\r
3 Copyright (C) 2002-2009 Silky
\r
5 This library is free software; you can redistribute it and/or modify it under
\r
6 the terms of the GNU Lesser General Public License as published by the Free
\r
7 Software Foundation; either version 2.1 of the License, or (at your option)
\r
10 This library is distributed in the hope that it will be useful, but WITHOUT
\r
11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
\r
12 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
\r
15 You should have received a copy of the GNU Lesser General Public License along
\r
16 with this library; if not, write to the Free Software Foundation, Inc.,
\r
17 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
\r
20 *******************************************************************************/
\r
22 #ifndef H_LOADED_FUNCTIONS
\r
23 #define H_LOADED_FUNCTIONS
\r
24 #include <wx/process.h>
\r
26 //******************************************************************************
\r
28 //******************************************************************************
\r
30 bool TreeView_CheckNewerItem(wxTreeCtrl *, const wxTreeItemId &, const wxString &, bool);
\r
31 wxString TreeView_GetItemPath(wxTreeCtrl *, wxTreeItemId);
\r
33 //******************************************************************************
\r
35 //******************************************************************************
\r
37 wxFileName MakeDirPath(const wxFileName &, const wxString &, bool);
\r
38 wxArrayString MakeTargetFileList(MainFrame * frm, bool fOnlyOneFile = false, bool fRecursive = true);
\r
39 bool WillMakeDirByArcName(MainFrame *, MakeDialog *);
\r
40 wxString GetFileTypeName(const wxFileName &);
\r
41 wxIcon GetFileTypeIcon(const wxFileName &);
\r
42 wxString QuoteString(const wxString &);
\r
44 //******************************************************************************
\r
46 //******************************************************************************
\r
48 class myProcess : public wxProcess
\r
51 myProcess(const wxString & szFile, const wxString & szDir) : szFile(szFile), szDir(szDir) {}
\r
52 virtual void OnTerminate(int, int);
\r
54 wxString szFile, szDir;
\r