cmTimeLine.h/c : Added cmTimeLinePrefixPath().

This commit is contained in:
Kevin Larke 2015-02-25 16:59:06 -08:00
parent 15a0c7beeb
commit 857dae7646
2 changed files with 7 additions and 0 deletions

View File

@ -949,6 +949,12 @@ const cmChar_t* cmTimeLineFileName( cmTlH_t h )
return p->filename; 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 cmTimeLineFinalize( cmTlH_t* hp )
{ {
cmTlRC_t rc; cmTlRC_t rc;

View File

@ -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 ); 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* cmTimeLineFileName( cmTlH_t h );
const cmChar_t* cmTimeLinePrefixPath( cmTlH_t h );
cmTlRC_t cmTimeLineFinalize( cmTlH_t* hp ); cmTlRC_t cmTimeLineFinalize( cmTlH_t* hp );