~ubuntu-branches/ubuntu/lucid/x11-apps/lucid

« back to all changes in this revision

Viewing changes to xedit/print.h

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau
  • Date: 2008-09-23 00:24:45 UTC
  • mfrom: (1.1.2 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080923002445-mb2rwkif45zz1vlj
Tags: 7.3+4
* Remove xedit from the package, it's unmaintained and broken
  (closes: #321434).
* Remove xedit's conffiles on upgrade.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * $Xorg: print.h,v 1.1 2004/04/30 02:05:54 gisburn Exp $
3
 
 *
4
 
Copyright 2004 Roland Mainz <roland.mainz@nrubsig.org>
5
 
 
6
 
Permission to use, copy, modify, distribute, and sell this software and its
7
 
documentation for any purpose is hereby granted without fee, provided that
8
 
the above copyright notice appear in all copies and that both that
9
 
copyright notice and this permission notice appear in supporting
10
 
documentation.
11
 
 
12
 
The above copyright notice and this permission notice shall be included in
13
 
all copies or substantial portions of the Software.
14
 
 
15
 
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
 
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
 
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
18
 
OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
19
 
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
 
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21
 
 
22
 
Except as contained in this notice, the name of The Open Group shall not be
23
 
used in advertising or otherwise to promote the sale, use or other dealings
24
 
in this Software without prior written authorization from The Open Group.
25
 
 *
26
 
 */
27
 
 
28
 
#ifndef XMORE_PRINT_H
29
 
#define XMORE_PRINT_H 1
30
 
 
31
 
#include <X11/Intrinsic.h>
32
 
#include <X11/StringDefs.h>
33
 
#include <X11/Shell.h>
34
 
#include <X11/Xaw/Print.h>
35
 
#include <X11/Xaw/Cardinals.h>
36
 
#include <X11/XprintUtil/xprintutil.h>
37
 
 
38
 
#if defined(XMORE)
39
 
#define PrintMsg(x) { printf("xmore: "); printf x ; }
40
 
#elif defined(XEDIT)
41
 
#define PrintMsg(x) { XeditPrintf x ; }
42
 
#else
43
 
#error unknown application
44
 
#endif 
45
 
 
46
 
/* Prototypes */
47
 
void DoPrintTextSource(const char *programname,
48
 
                       Widget textsource,
49
 
                       Widget toplevel, 
50
 
                       Display *pdpy, XPContext pcontext,
51
 
                       XpuColorspaceRec *colorspace,
52
 
                       XtCallbackProc printDisplayDestroyCallback,
53
 
                       const char *jobTitle,
54
 
                       const char *toFile);
55
 
 
56
 
#endif /* !XMORE_PRINT_H */