diff options
author | Igor Pavlov <ipavlov@users.sourceforge.net> | 2014-11-23 03:00:00 +0300 |
---|---|---|
committer | Kornel LesiĆski <kornel@geekhood.net> | 2016-05-28 02:16:51 +0300 |
commit | f08f4dcc3c02464c17753b3feafcfe5243b9e236 (patch) | |
tree | b0e1b15bc5368d92dff422e8ec0818564a2b00b8 /CPP/7zip/UI/FileManager/TextPairs.h | |
parent | 83f8ddcc5b2161e1e3c49666265257fca8aeb12c (diff) |
9.349.34
Diffstat (limited to 'CPP/7zip/UI/FileManager/TextPairs.h')
-rw-r--r--[-rwxr-xr-x] | CPP/7zip/UI/FileManager/TextPairs.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/CPP/7zip/UI/FileManager/TextPairs.h b/CPP/7zip/UI/FileManager/TextPairs.h index 2670e030..d27cd97c 100755..100644 --- a/CPP/7zip/UI/FileManager/TextPairs.h +++ b/CPP/7zip/UI/FileManager/TextPairs.h @@ -3,7 +3,7 @@ #ifndef __FM_TEXT_PAIRS_H #define __FM_TEXT_PAIRS_H -#include "Common/MyString.h" +#include "../../../Common/MyString.h" struct CTextPair { @@ -14,16 +14,17 @@ struct CTextPair class CPairsStorage { CObjectVector<CTextPair> Pairs; - int FindID(const UString &id, int &insertPos); - int FindID(const UString &id); + + int FindID(const UString &id, int &insertPos) const; + int FindID(const UString &id) const; void Sort(); public: void Clear() { Pairs.Clear(); }; bool ReadFromString(const UString &text); - void SaveToString(UString &text); + void SaveToString(UString &text) const; - bool GetValue(const UString &id, UString &value); - UString GetValue(const UString &id); + bool GetValue(const UString &id, UString &value) const; + UString GetValue(const UString &id) const; void AddPair(const CTextPair &pair); void DeletePair(const UString &id); }; |