]> git.cworth.org Git - apitrace/blobdiff - retrace.hpp
Use Cocoa on Mac OS X.
[apitrace] / retrace.hpp
index 806d6ed9c944b328f451d3d4779810824b8da47b..300f00757aed19648a930a7cc8e9e98db3cd70ec 100644 (file)
@@ -28,7 +28,9 @@
 
 #include <string.h>
 
+#include <list>
 #include <map>
+#include <ostream>
 
 #include "trace_model.hpp"
 
@@ -84,8 +86,11 @@ public:
 extern int verbosity;
 
 
+std::ostream &warning(Trace::Call &call);
+
+
 void ignore(Trace::Call &call);
-void retrace_unknown(Trace::Call &call);
+void unsupported(Trace::Call &call);
 
 
 typedef void (*Callback)(Trace::Call &call);
@@ -97,7 +102,7 @@ struct Entry {
 
 
 struct stringComparer {
-  bool operator() (const char *a, const  char *b) {
+  bool operator() (const char *a, const  char *b) const {
     return strcmp(a, b) < 0;
   }
 };