Mercurial > hg > easyhg
annotate common.h @ 24:bb93f0593aeb
Fixed findMyIp().
author | Jari Korhonen <jtkorhonen@gmail.com> |
---|---|
date | Wed, 19 May 2010 22:57:05 +0300 |
parents | 16be237acf13 |
children | 90ffef5f0494 |
rev | line source |
---|---|
jtkorhonen@0 | 1 #ifndef COMMON_H |
jtkorhonen@0 | 2 #define COMMON_H |
jtkorhonen@0 | 3 |
jtkorhonen@0 | 4 //** Copyright (C) Jari Korhonen, 2010 (under lgpl) |
jtkorhonen@0 | 5 |
jtkorhonen@0 | 6 #include <QtCore> |
jtkorhonen@0 | 7 |
jtkorhonen@0 | 8 #define APPNAME "HgExplorer" |
jtkorhonen@23 | 9 #define APPVERSION "0.4.4" |
jtkorhonen@0 | 10 #define MY_ICON_SIZE 32 |
jtkorhonen@0 | 11 #define REPOMENU_TITLE "Repository actions" |
jtkorhonen@0 | 12 #define WORKFOLDERMENU_TITLE "Workfolder actions" |
jtkorhonen@0 | 13 #define EXITOK(x) ((x)==0) |
jtkorhonen@0 | 14 #define CHGSET "changeset: " |
jtkorhonen@0 | 15 #define REQUIRED_CHGSET_DIFF_COUNT 2 |
jtkorhonen@0 | 16 |
jtkorhonen@0 | 17 #define WORKTAB 0 |
jtkorhonen@0 | 18 #define HISTORYTAB 1 |
jtkorhonen@0 | 19 #define HEADSTAB 2 |
jtkorhonen@0 | 20 |
jtkorhonen@0 | 21 #define HGSTAT_M_BIT 1U |
jtkorhonen@0 | 22 #define HGSTAT_A_BIT 2U |
jtkorhonen@0 | 23 #define HGSTAT_R_BIT 4U |
jtkorhonen@0 | 24 #define HGSTAT_D_BIT 8U |
jtkorhonen@0 | 25 #define HGSTAT_U_BIT 16U |
jtkorhonen@0 | 26 #define HGSTAT_C_BIT 32U |
jtkorhonen@0 | 27 #define HGSTAT_I_BIT 64U |
jtkorhonen@0 | 28 |
jtkorhonen@0 | 29 #define DEFAULT_HG_STAT_BITS (HGSTAT_M_BIT | HGSTAT_A_BIT | HGSTAT_R_BIT | HGSTAT_D_BIT | HGSTAT_U_BIT) |
jtkorhonen@0 | 30 |
jtkorhonen@0 | 31 |
jtkorhonen@0 | 32 |
jtkorhonen@0 | 33 extern QString getSystem(); |
jtkorhonen@0 | 34 extern QString getHgBinaryName(); |
jtkorhonen@0 | 35 extern QString getDiffMergeDefaultPath(); |
jtkorhonen@0 | 36 extern QString getHgDirName(); |
jtkorhonen@0 | 37 |
jtkorhonen@0 | 38 #endif //COMMON_H |
jtkorhonen@0 | 39 |
jtkorhonen@0 | 40 |