File: errorcodes.h

package info (click to toggle)
pdftoipe 20040630-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,552 kB
  • ctags: 3,413
  • sloc: cpp: 36,882; ansic: 2,877; makefile: 37
file content (25 lines) | stat: -rw-r--r-- 635 bytes parent folder | download | duplicates (3)
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
// -*- C++ -*-
//========================================================================
//
// ErrorCodes.h
//
// Copyright 2002 Glyph & Cog, LLC
//
//========================================================================

#ifndef ERRORCODES_H
#define ERRORCODES_H

#define errNone             0	// no error

#define errOpenFile         1	// couldn't open the PDF file

#define errBadCatalog       2	// couldn't read the page catalog

#define errDamaged          3	// PDF file was damaged and couldn't be
				// repaired

#define errEncrypted        4	// file was encrypted and password was
				// incorrect or not supplied

#endif