Index: dm/DMJsonWriter.h |
diff --git a/dm/DMJsonWriter.h b/dm/DMJsonWriter.h |
index 58d85d358debf177ad63029280edf502b4e1393c..593484688b5a35a2aac9e75606d8e2d407feac73 100644 |
--- a/dm/DMJsonWriter.h |
+++ b/dm/DMJsonWriter.h |
@@ -44,7 +44,14 @@ public: |
* Write all collected results to the file FLAGS_writePath[0]/dm.json. |
*/ |
static void DumpJson(); |
+ |
+ /** |
+ * Read JSON file at path written by DumpJson, calling callback for each |
+ * BitmapResult recorded in the file. Return success. |
+ */ |
+ static bool ReadJson(const char* path, void(*callback)(BitmapResult)); |
}; |
+ |
} // namespace DM |
#endif // DMJsonWriter_DEFINED |