view include/common.h @ 26:5a934c8e1b95 v2.2dev

implement shorcutkeys & file count
author pyon@macmini
date Thu, 03 Nov 2011 15:48:26 +0900
parents 5c99c6fa50df
children d21de4693652
line wrap: on
line source

// Filename   : common.h
// Last Change: 02-Nov-2011.
//
#ifndef __COMMON__
#define __COMMON__

#include "wx/wxprec.h"
 
#ifndef WX_PRECOMP
    #include <wx/wx.h>
    #include <wx/icon.h>
    #include <wx/splash.h>
    #include <wx/imaglist.h>
    #include <wx/dir.h>
    #include <wx/menu.h>
    #include <wx/string.h>
    #include <wx/statusbr.h>
    #include <wx/dnd.h>
    #include <wx/stattext.h>
    #include <wx/button.h>
    #include <wx/datectrl.h>
    #include <wx/dateevt.h>
    #include <wx/textctrl.h>
    #include <wx/filepicker.h>
    #include <wx/filename.h>
    #include <wx/listctrl.h>
    #include <wx/dir.h>
    #include <wx/file.h>
    #include <wx/tokenzr.h>
    #include <wx/stdpaths.h>
    #include <wx/sizer.h>
    #include <wx/combobox.h>
    #include <wx/progdlg.h>
    #include <wx/frame.h>
    #include <wx/textfile.h>
    #include <wx/stopwatch.h>
    #include "wx/regex.h"
#endif

enum {
    // mainframe
    ID_MAIN    = wxID_HIGHEST + 1,
    ID_TEST,

    ID_MENUBARFILE,
    ID_MENUITEMPARAM,
    ID_MENUITEMAPPDIR,
    ID_MENUITEMQUIT,

    ID_BUTTONNEXTTHU,
    ID_BUTTONMKDIR,
    ID_TEXTCTRLDIST,
    ID_TEXTCTRLGUESS,
    ID_LISTCTRLVIEW,

    ID_BUTTONDETECT,
    ID_BUTTONMOVE,
    ID_BUTTONDEL,
    ID_BUTTONUNDO,
    ID_LISTCTRLDIR,

    ID_TIMER,

    // param

    // dirview
};

#if defined(__WXMSW__)
    #define MOVECMD wxT("move")
#else
    #define MOVECMD wxT("mv")
#endif

#endif  // __COMMON__