summaryrefslogtreecommitdiffstats
path: root/src/Client/XLSSheet.h
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-10-01 00:38:20 +0200
committerMatthias Schiffer <matthias@gamezock.de>2009-10-01 00:38:20 +0200
commit8635603e2f4f8b61026f69532f3cda51bd711f91 (patch)
treefb7b7bd6ef019f451cf6acc4f439790c8d38c12b /src/Client/XLSSheet.h
parent1a43fad56dc945c72a4ab711d2c9ff6d1a5a1502 (diff)
downloadmad-8635603e2f4f8b61026f69532f3cda51bd711f91.tar
mad-8635603e2f4f8b61026f69532f3cda51bd711f91.zip
UserListCommands: import: Edit column names before saving the list
Diffstat (limited to 'src/Client/XLSSheet.h')
-rw-r--r--src/Client/XLSSheet.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Client/XLSSheet.h b/src/Client/XLSSheet.h
index 0960fc0..8cd06e2 100644
--- a/src/Client/XLSSheet.h
+++ b/src/Client/XLSSheet.h
@@ -80,6 +80,10 @@ class MAD_CLIENT_EXPORT XLSSheet : private boost::noncopyable {
return colNames[col];
}
+ void setColumnName(unsigned col, const Core::String &name) {
+ colNames[col] = name;
+ }
+
const std::vector<RowType>& getRows() const {
return rows;
}