diff options
author | "Oliver Schneider ext:(%22) <oliver@assarbad.net> | 2011-02-05 03:47:16 +0300 |
---|---|---|
committer | "Oliver Schneider ext:(%22) <oliver@assarbad.net> | 2011-02-05 03:47:16 +0300 |
commit | cdfd55304338c4adb28714dbc0387f1cbcbbee93 (patch) | |
tree | ce538bf1b2bb8e16f3fd67803db9853ff64ae57a /common/wds_constants.h | |
parent | 69a318aebf2702e80ae4275541a856ffeec30d4e (diff) |
- Some refactoring to make the distinction between API functions and class member functions easier
- There are only 26 letters in the Latin alphabet, so only 26 drive letters
- Some additional check
- Added TODO/FIXME comments for later
Diffstat (limited to 'common/wds_constants.h')
-rw-r--r-- | common/wds_constants.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/wds_constants.h b/common/wds_constants.h index 22a4b86..da28c80 100644 --- a/common/wds_constants.h +++ b/common/wds_constants.h @@ -43,6 +43,7 @@ namespace wds const TCHAR chrCapA = _T('A'); const TCHAR chrCapB = _T('B'); const TCHAR chrCapC = _T('C'); + const TCHAR chrCapZ = _T('Z'); // Constants strings const LPCTSTR strEmpty = _T(""); @@ -72,6 +73,7 @@ namespace wds const LPCTSTR strAttributeEncrypted = _T("E"); const int iLangCodeLength = 4; + const int iNumDriveLetters = (chrCapZ - chrCapA) + 1; } #endif // __WDS_CONSTANTS_H__ |