From 5023a1d0b96071a35547dcc309ce45ba6a17eec1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 27 Feb 2012 22:44:30 +0300 Subject: Fix compilation. --- src/gui/widgets/namesmodel.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/gui/widgets/namesmodel.h') diff --git a/src/gui/widgets/namesmodel.h b/src/gui/widgets/namesmodel.h index 3f9f10b52..dc694fc46 100644 --- a/src/gui/widgets/namesmodel.h +++ b/src/gui/widgets/namesmodel.h @@ -38,6 +38,12 @@ class NamesModel : public gcn::ListModel virtual std::string getElementAt(int i); + std::vector &getNames() + { return mNames; } + + size_t size() + { return mNames.size(); } + protected: std::vector mNames; }; -- cgit v1.2.3-60-g2f50