OSDN Git Service

ディレクトリを選択して通常の展開を行う場合に再帰的に展開するよう変更。
[tpi/lychee.git] / src / lychee / functions.h
1 /*******************************************************************************\r
2   TPI - flexible but useless plug-in framework.\r
3   Copyright (C) 2002-2009 Silky\r
4 \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
8   any later version.\r
9 \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
13   for more details.\r
14 \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
18 \r
19   $Id$\r
20 *******************************************************************************/\r
21 \r
22 #ifndef H_LOADED_FUNCTIONS\r
23 #define H_LOADED_FUNCTIONS\r
24 #include <wx/process.h>\r
25 \r
26 //******************************************************************************\r
27 //    コントロール処理系関数\r
28 //******************************************************************************\r
29 \r
30 bool TreeView_CheckNewerItem(wxTreeCtrl *, const wxTreeItemId &, const wxString &, bool);\r
31 wxString TreeView_GetItemPath(wxTreeCtrl *, wxTreeItemId);\r
32 \r
33 //******************************************************************************\r
34 //    諸処理関数\r
35 //******************************************************************************\r
36 \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
43 \r
44 //******************************************************************************\r
45 //    「開く」用プロセス\r
46 //******************************************************************************\r
47 \r
48 class myProcess : public wxProcess\r
49 {\r
50 public:\r
51         myProcess(const wxString & szFile, const wxString & szDir) : szFile(szFile), szDir(szDir) {}\r
52     virtual void OnTerminate(int, int);\r
53 private:\r
54         wxString szFile, szDir;\r
55 };\r
56 \r
57 #endif\r