summaryrefslogtreecommitdiff
path: root/src/drv/cd0prn.c
blob: 0293bb4ce2a11256bf878642ad3f5e46fcfefc2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/** \file
 * \brief Dummy Printer
 *
 * See Copyright Notice in cd.h
 */

#include <stdlib.h>
#include "cd.h"
#include "cd_private.h"
#include "cdprint.h"



cdContext* cdContextPrinter(void)
{
  if (cdUseContextPlus(CD_QUERY))
  {
    cdContext* ctx = cdGetContextPlus(CD_CTXPLUS_PRINTER);
    if (ctx != NULL)
      return ctx;
  }

  return NULL;
}