From 857dae76464f36b5a2bc8f7fa8ffaea610120a0a Mon Sep 17 00:00:00 2001 From: Kevin Larke Date: Wed, 25 Feb 2015 16:59:06 -0800 Subject: [PATCH] cmTimeLine.h/c : Added cmTimeLinePrefixPath(). --- app/cmTimeLine.c | 6 ++++++ app/cmTimeLine.h | 1 + 2 files changed, 7 insertions(+) diff --git a/app/cmTimeLine.c b/app/cmTimeLine.c index 3c4dbf2..555bbb4 100644 --- a/app/cmTimeLine.c +++ b/app/cmTimeLine.c @@ -949,6 +949,12 @@ const cmChar_t* cmTimeLineFileName( cmTlH_t h ) return p->filename; } +const cmChar_t* cmTimeLinePrefixPath( cmTlH_t h ) +{ + _cmTl_t* p = _cmTlHandleToPtr(h); + return p->prefixPath; +} + cmTlRC_t cmTimeLineFinalize( cmTlH_t* hp ) { cmTlRC_t rc; diff --git a/app/cmTimeLine.h b/app/cmTimeLine.h index 458e8ba..e289267 100644 --- a/app/cmTimeLine.h +++ b/app/cmTimeLine.h @@ -122,6 +122,7 @@ extern "C" { cmTlRC_t cmTimeLineInitializeFromFile( cmCtx_t* ctx, cmTlH_t* hp, cmTlCb_t cbFunc, void* cbArg, const cmChar_t* fn, const cmChar_t* prefixPath ); const cmChar_t* cmTimeLineFileName( cmTlH_t h ); + const cmChar_t* cmTimeLinePrefixPath( cmTlH_t h ); cmTlRC_t cmTimeLineFinalize( cmTlH_t* hp );