summaryrefslogtreecommitdiffstats
path: root/grapher/StapParser.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'grapher/StapParser.hxx')
-rw-r--r--grapher/StapParser.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/grapher/StapParser.hxx b/grapher/StapParser.hxx
index 624accc7..e11e7302 100644
--- a/grapher/StapParser.hxx
+++ b/grapher/StapParser.hxx
@@ -7,7 +7,7 @@ namespace systemtap
class StapParser
{
std::string _buffer;
- typedef std::map<std::string, std::tr1::shared_ptr<GraphData> > DataMap;
+ typedef std::map<std::string, std::tr1::shared_ptr<GraphDataBase> > DataMap;
DataMap _dataSets;
CSVData _csv;
Gtk::Window& _win;
@@ -15,7 +15,8 @@ class StapParser
public:
StapParser(Gtk::Window& win,
GraphWidget& widget) : _win(win), _widget(widget) {}
-
+ void parseData(std::tr1::shared_ptr<GraphDataBase> gdata,
+ double time, const std::string& dataString);
bool ioCallback(Glib::IOCondition ioCondition);
};