diff options
Diffstat (limited to 'src/cd.c')
-rw-r--r-- | src/cd.c | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -264,6 +264,20 @@ unsigned long cdContextCaps(cdContext *context) return context->caps; } +int cdContextIsPlus(cdContext *context) +{ + if (!context) + return (unsigned long)CD_ERROR; + return context->plus; +} + +int cdContextType(cdContext *context) +{ + if (!context) + return (unsigned long)CD_ERROR; + return context->type; +} + int cdCanvasSimulate(cdCanvas* canvas, int mode) { int sim_mode; |