OSDN Git Service

Lycheeにリネーム。
[tpi/lychee.git] / src / frontend / frm_main.h
index 72cbd31..722cc41 100644 (file)
@@ -1,85 +1,85 @@
-/*******************************************************************************\r
-  TPI - flexible but useless plug-in framework.\r
-  Copyright (C) 2002-2009 Silky\r
-\r
-  This library is free software; you can redistribute it and/or modify it under\r
-  the terms of the GNU Lesser General Public License as published by the Free\r
-  Software Foundation; either version 2.1 of the License, or (at your option)\r
-  any later version.\r
-\r
-  This library is distributed in the hope that it will be useful, but WITHOUT\r
-  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or \r
-  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License\r
-  for more details.\r
-\r
-  You should have received a copy of the GNU Lesser General Public License along\r
-  with this library; if not, write to the Free Software Foundation, Inc.,\r
-  51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA\r
-\r
-  $Id: frm_main.h,v 1.10 2009/08/30 09:28:27 sirakaba Exp $\r
-*******************************************************************************/\r
-\r
-#include <wx/cmdline.h>\r
-#include <wx/splitter.h>\r
+/*******************************************************************************
+  TPI - flexible but useless plug-in framework.
+  Copyright (C) 2002-2009 Silky
+
+  This library is free software; you can redistribute it and/or modify it under
+  the terms of the GNU Lesser General Public License as published by the Free
+  Software Foundation; either version 2.1 of the License, or (at your option)
+  any later version.
+
+  This library 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 Lesser General Public License
+  for more details.
+
+  You should have received a copy of the GNU Lesser General Public License along
+  with this library; if not, write to the Free Software Foundation, Inc.,
+  51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+
+  $Id: frm_main.h,v 1.10 2009/08/30 09:28:27 sirakaba Exp $
+*******************************************************************************/
+
+#include <wx/cmdline.h>
+#include <wx/splitter.h>
 #include <wx/fileconf.h>
-\r
-#ifndef H_LOADED_FRM_MAIN\r
-#define H_LOADED_FRM_MAIN\r
-\r
-class MainFrame: public wxFrame {\r
-public:\r
-    wxStatusBar* statusbar;\r
-    wxTreeCtrl* tree_ctrl;\r
-    myListCtrl* list_ctrl;\r
-       ArrayTPI_FILEINFO fileinfo;\r
-       TPIHandle tpi;\r
-       wxString szCurrentPath;\r
-       wxFileName fnLastOpenPath;\r
-       wxCmdLineParser cmdLine;\r
-\r
-    // Event handler.\r
-    void OnInit(    wxInitDialogEvent&);\r
-\r
-       void OnExit(       wxCommandEvent&);\r
-    void OnArcCreate(  wxCommandEvent&);\r
-    void OnArcOpen(    wxCommandEvent&);\r
-    void OnArcClose(   wxCommandEvent&);\r
-    void OnArcAdd(     wxCommandEvent&);\r
-    void OnArcConvert( wxCommandEvent&);\r
-\r
-       void OnArcExtract( wxCommandEvent&);\r
-    void OnArcDelete(  wxCommandEvent&);\r
-    void OnArcTest(    wxCommandEvent&);\r
-    void OnArcRepair(  wxCommandEvent&);\r
-\r
-       void OnViewMode(wxCommandEvent&);\r
-\r
-       void OnShowToolBar(  wxCommandEvent&);\r
-       void OnShowStatusBar(wxCommandEvent&);\r
-\r
-       void OnSelectAll(wxCommandEvent&);\r
-\r
-       void OnTreeChanged(wxTreeEvent&);\r
-       void OnTreeBeginDrag(wxTreeEvent&);\r
-\r
-       void OnListItemDClick(wxListEvent&);\r
-    void OnListBeginDrag( wxListEvent&);\r
-\r
-       void OnFilter(wxCommandEvent&);\r
-\r
-       int LoadTPI(wxString &);\r
-       int ErrorCheck(int);\r
-\r
-       MainFrame();\r
-       ~MainFrame();\r
-\r
-protected:\r
-    wxMenuBar* menubar;\r
-    wxToolBar* toolbar;\r
-    wxSplitterWindow* window_splitter;\r
-    wxTextCtrl * tcFilter;\r
-       wxFileConfig conf;\r
-    DECLARE_EVENT_TABLE()\r
-};\r
-\r
-#endif\r
+
+#ifndef H_LOADED_FRM_MAIN
+#define H_LOADED_FRM_MAIN
+
+class MainFrame: public wxFrame {
+public:
+    wxTreeCtrl * tree_ctrl;
+    myListCtrl * list_ctrl;
+       ArrayTPI_FILEINFO fileinfo;
+       TPIHandle tpi;
+       wxFileName fnArchive;
+       wxFileConfig conf;
+       wxString szCurrentPath;
+       wxCmdLineParser cmdLine;
+
+    // Event handler.
+    void OnInit(    wxInitDialogEvent&);
+
+       void OnExit(       wxCommandEvent&);
+    void OnArcCreate(  wxCommandEvent&);
+    void OnArcOpen(    wxCommandEvent&);
+    void OnArcClose(   wxCommandEvent&);
+    void OnArcAdd(     wxCommandEvent&);
+    void OnArcConvert( wxCommandEvent&);
+
+       void OnArcExtract( wxCommandEvent&);
+    void OnArcDelete(  wxCommandEvent&);
+    void OnArcTest(    wxCommandEvent&);
+    void OnArcRepair(  wxCommandEvent&);
+
+       void OnViewMode(wxCommandEvent&);
+
+       void OnShowToolBar(  wxCommandEvent&);
+       void OnShowStatusBar(wxCommandEvent&);
+
+       void OnSelectAll(wxCommandEvent&);
+
+       void OnTreeChanged(wxTreeEvent&);
+       void OnTreeBeginDrag(wxTreeEvent&);
+
+       void OnListItemDClick(wxListEvent&);
+    void OnListBeginDrag( wxListEvent&);
+
+       void OnFilter(wxCommandEvent&);
+
+       int LoadTPI(wxString);
+       int ErrorCheck(int);
+
+       MainFrame();
+       ~MainFrame();
+
+protected:
+    wxMenuBar * menubar;
+    wxToolBar * toolbar;
+    wxStatusBar * statusbar;
+    wxSplitterWindow * window_splitter;
+    wxTextCtrl * tcFilter;
+    DECLARE_EVENT_TABLE()
+};
+
+#endif