source: trunk/poppler/mypoppler/poppler/Error.h @ 461

Last change on this file since 461 was 257, checked in by Eugene Romanenko, 13 years ago

PDF plugin: Poppler library updated to version 0.10.0

File size: 1.2 KB
Line 
1//========================================================================
2//
3// Error.h
4//
5// Copyright 1996-2003 Glyph & Cog, LLC
6//
7//========================================================================
8
9//========================================================================
10//
11// Modified under the Poppler project - http://poppler.freedesktop.org
12//
13// All changes made under the Poppler project to this file are licensed
14// under GPL version 2 or later
15//
16// Copyright (C) 2005, 2007 Jeff Muizelaar <jeff@infidigm.net>
17// Copyright (C) 2005 Albert Astals Cid <aacid@kde.org>
18// Copyright (C) 2005 Kristian HÞgsberg <krh@redhat.com>
19//
20// To see a description of the changes please see the Changelog file that
21// came with your tarball or type make ChangeLog if you are building from git
22//
23//========================================================================
24
25#ifndef ERROR_H
26#define ERROR_H
27
28#ifdef USE_GCC_PRAGMAS
29#pragma interface
30#endif
31
32#include <stdarg.h>
33#include "poppler-config.h"
34
35extern void CDECL error(int pos, char *msg, ...) GCC_PRINTF_FORMAT (2, 3);
36void warning(char *msg, ...) GCC_PRINTF_FORMAT (1, 2);
37
38void setErrorFunction(void (* f)(int , char *, va_list args));
39
40#endif
Note: See TracBrowser for help on using the repository browser.