view include/common.h @ 20:d10eafafe31f v2.2dev

dirview delete
author pyon@macmini
date Tue, 25 Oct 2011 20:02:55 +0900
parents 868ccd73e238
children c540dc3eabe5
line wrap: on
line source

// Filename   : common.h
// Last Change: 24-Oct-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>
#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_TIMER,

    // param

    // dirview
    ID_LISTCTRLALL,
    ID_LISTCTRLTHUMB,
    ID_BITMAPPREVIEW,
};

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

#endif  // __COMMON__