summaryrefslogtreecommitdiff
path: root/cmds/incident_helper/IncidentHelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'cmds/incident_helper/IncidentHelper.h')
-rw-r--r--cmds/incident_helper/IncidentHelper.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/cmds/incident_helper/IncidentHelper.h b/cmds/incident_helper/IncidentHelper.h
index f319c419fcd6..f6579a2d3736 100644
--- a/cmds/incident_helper/IncidentHelper.h
+++ b/cmds/incident_helper/IncidentHelper.h
@@ -36,6 +36,17 @@ public:
};
/**
+ * No op parser returns what it reads
+ */
+class NoopParser : public TextParserBase {
+public:
+ NoopParser() : TextParserBase(String8("NoopParser")) {};
+ ~NoopParser() {};
+
+ virtual status_t Parse(const int in, const int out) const;
+};
+
+/**
* This parser is used for testing only, results in timeout.
*/
class TimeoutParser : public TextParserBase {