mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 22:47:20 +02:00
Enhancement - attributes and stringtable
- Modified Att to contain a vector of Mods, not std::strings, even though a Mod is a std::string. - Added a StringTable object to Context, to start getting the I18N infrastructure in place before it is needed. Only a few strings are expected to be migrated.
This commit is contained in:
parent
627d0a7ae9
commit
17979e10f0
3 changed files with 33 additions and 20 deletions
|
@ -29,6 +29,7 @@
|
|||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include "Mod.h"
|
||||
|
||||
class Att
|
||||
{
|
||||
|
@ -66,7 +67,7 @@ private:
|
|||
private:
|
||||
std::string mName;
|
||||
std::string mValue;
|
||||
std::vector <std::string> mMods;
|
||||
std::vector <Mod> mMods;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue