summaryrefslogtreecommitdiff
path: root/src/cd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cd.c')
-rw-r--r--src/cd.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/cd.c b/src/cd.c
index 3816731..4553575 100644
--- a/src/cd.c
+++ b/src/cd.c
@@ -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;