- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/TextUI/Query/StringTextQuery.cpp
r955b91 rf10b0c 28 28 29 29 30 TextDialog::StringTextQuery::StringTextQuery( std::string title, std::string _description) :31 Dialog::StringQuery( title,_description)30 TextDialog::StringTextQuery::StringTextQuery(Parameter<std::string> ¶m, std::string title, std::string _description) : 31 Dialog::StringQuery(param, title,_description) 32 32 {} 33 33 … … 36 36 bool TextDialog::StringTextQuery::handle() { 37 37 std::cout << getDescription() << ": "; 38 getline(std::cin,tmp); 38 std::string temp_string; 39 getline(std::cin,temp_string); 40 tmp.set(temp_string); 39 41 return true; 40 42 }
Note:
See TracChangeset
for help on using the changeset viewer.