X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=common%2Ftrace_tools.hpp;h=ddfe888cbcf206eeaeb983c2220fc1529ee96393;hb=44d6e82ea0c10fe5c798b22fa25c2186dc77a6c0;hp=f141d2cb669e4559afa3609041616877eea940ad;hpb=09879ecc0785138789a535ceb43d788606a791e3;p=apitrace diff --git a/common/trace_tools.hpp b/common/trace_tools.hpp index f141d2c..ddfe888 100644 --- a/common/trace_tools.hpp +++ b/common/trace_tools.hpp @@ -29,22 +29,15 @@ #include - -namespace os { - class Path; -}; +#include "trace_api.hpp" namespace trace { -os::Path -findFile(const char *relPath, // path relative to the current program - const char *absPath, // absolute path - bool verbose); - int -traceProgram(char * const *argv, +traceProgram(API api, + char * const *argv, const char *output = NULL, bool verbose = false);