jtkorhonen@0: #ifndef COMMON_H jtkorhonen@0: #define COMMON_H jtkorhonen@0: jtkorhonen@30: /**************************************************************************** jtkorhonen@30: ** Copyright (C) Jari Korhonen, 2010 (under lgpl) jtkorhonen@30: ****************************************************************************/ jtkorhonen@0: jtkorhonen@0: #include jtkorhonen@0: jtkorhonen@0: #define APPNAME "HgExplorer" jtkorhonen@42: #define APPVERSION "0.7.2" jtkorhonen@0: #define MY_ICON_SIZE 32 jtkorhonen@0: #define REPOMENU_TITLE "Repository actions" jtkorhonen@0: #define WORKFOLDERMENU_TITLE "Workfolder actions" jtkorhonen@0: #define EXITOK(x) ((x)==0) jtkorhonen@0: #define CHGSET "changeset: " jtkorhonen@0: #define REQUIRED_CHGSET_DIFF_COUNT 2 jtkorhonen@0: jtkorhonen@0: #define WORKTAB 0 jtkorhonen@0: #define HISTORYTAB 1 jtkorhonen@0: #define HEADSTAB 2 jtkorhonen@0: jtkorhonen@0: #define HGSTAT_M_BIT 1U jtkorhonen@0: #define HGSTAT_A_BIT 2U jtkorhonen@0: #define HGSTAT_R_BIT 4U jtkorhonen@0: #define HGSTAT_D_BIT 8U jtkorhonen@0: #define HGSTAT_U_BIT 16U jtkorhonen@0: #define HGSTAT_C_BIT 32U jtkorhonen@0: #define HGSTAT_I_BIT 64U jtkorhonen@0: jtkorhonen@0: #define DEFAULT_HG_STAT_BITS (HGSTAT_M_BIT | HGSTAT_A_BIT | HGSTAT_R_BIT | HGSTAT_D_BIT | HGSTAT_U_BIT) jtkorhonen@0: jtkorhonen@30: #define NUM_PATHS_IN_MRU_LIST 5 jtkorhonen@0: jtkorhonen@0: jtkorhonen@0: extern QString getSystem(); jtkorhonen@0: extern QString getHgBinaryName(); jtkorhonen@0: extern QString getHgDirName(); jtkorhonen@0: jtkorhonen@0: #endif //COMMON_H jtkorhonen@0: jtkorhonen@0: