diff include/myframe.h @ 35:405e08552527 v2.4 v2.6

auto-detect on/off
author pyon@macmini
date Thu, 17 Nov 2011 21:03:30 +0900
parents e4d585cbd172
children 3b54f3deeed9
line wrap: on
line diff
--- a/include/myframe.h	Sat Nov 12 13:18:03 2011 +0900
+++ b/include/myframe.h	Thu Nov 17 21:03:30 2011 +0900
@@ -1,5 +1,5 @@
 // Filename   : myframe.h
-// Last Change: 06-Nov-2011.
+// Last Change: 17-Nov-2011.
 //
 
 #ifndef __myframe__
@@ -18,6 +18,9 @@
         wxTimer           m_timer;
         wxArrayString     m_hhsList;
         CacheHash         CH;
+        bool              autodetect_mode;
+        bool              by_autodetect;
+        bool              cache_changed;
     
     protected:
         wxMenuBar*        m_menubarFile;
@@ -52,6 +55,8 @@
         wxButton*         m_buttonMove;
         wxButton*         m_buttonDel;
         wxButton*         m_buttonUndo;
+
+        wxProgressDialog* pd;
     
     public:
         MyFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL );
@@ -63,14 +68,16 @@
         void OnItemSelected(wxListEvent& event);
         void OnItemDeselected(wxListEvent& event);
         void ViewLarge(wxListEvent& event);
+        void ToggleAutoDetect(wxCommandEvent& event);
         void OnDetect(wxCommandEvent& event);
         void OnMove(wxCommandEvent& event);
         void OnDelete(wxCommandEvent& event);
         void OnUndo(wxCommandEvent& event);
-        void UpdateListImage(void);
-        void UpdateCache(void);
-        void ListHhsDir(void);
-        void MoveImages(void);
+        void UpdateListImage( void );
+        void UpdateCache( void );
+        void ClearGuess( void );
+        void ListHhsDir( void );
+        void MoveImages( void );
         void OnOpenHhsDir(wxListEvent& event);
         void GetCCnArrayInfo(wxArrayString& array, int n, wxString& nName, wxString& nDir);
         // $B0J2<!$Dj7?$b$N(B