view include/common.h @ 14:f871fd3085e9 default v2.2dev

Added tag v2.1 for changeset df439f9831d2
author pyon@macmini
date Sun, 23 Oct 2011 20:53:47 +0900
parents 6ed3b64ed39a
children 868ccd73e238
line wrap: on
line source

// Filename   : common.h
// Last Change: 23-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

};

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

#endif  // __COMMON__