summaryrefslogtreecommitdiff
path: root/cd/src/drv/cd0prn.c
blob: fa313d87f42f9bb0e8a9b3a3dfeb446a226f7329 (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_CTX_PRINTER);
    if (ctx != NULL)
      return ctx;
  }

  return NULL;
}