summaryrefslogtreecommitdiff
path: root/print.h
diff options
context:
space:
mode:
authorRoland Mainz <roland.mainz@nrubsig.org>2004-05-24 03:17:44 +0000
committerRoland Mainz <roland.mainz@nrubsig.org>2004-05-24 03:17:44 +0000
commitaa3ab858ee6f5e51e0816dac708142bbcc38da5b (patch)
tree7222a83c109410fdd211ba5633a4d7a41c4f2535 /print.h
parent5d7513ad1d0c061f97373b684d669ebf98d7867e (diff)
Fix for http://pdx.freedesktop.org/cgi-bin/bugzilla/show_bug.cgi?id=611 -
Adding simple text viewer (xmore)
Diffstat (limited to 'print.h')
-rw-r--r--print.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/print.h b/print.h
new file mode 100644
index 0000000..0dc94df
--- /dev/null
+++ b/print.h
@@ -0,0 +1,44 @@
+/*
+ * $Xorg: print.h,v 1.1 2004/04/30 02:05:54 gisburn Exp $
+ *
+Copyright 2004 Roland Mainz <roland.mainz@nrubsig.org>
+
+Permission to use, copy, modify, distribute, and sell this software and its
+documentation for any purpose is hereby granted without fee, provided that
+the above copyright notice appear in all copies and that both that
+copyright notice and this permission notice appear in supporting
+documentation.
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Except as contained in this notice, the name of The Open Group shall not be
+used in advertising or otherwise to promote the sale, use or other dealings
+in this Software without prior written authorization from The Open Group.
+ *
+ */
+
+#ifndef XMORE_PRINT_H
+#define XMORE_PRINT_H 1
+
+#include <X11/Intrinsic.h>
+#include <X11/StringDefs.h>
+#include <X11/Shell.h>
+#include <X11/Xaw/Print.h>
+#include <X11/Xaw/Cardinals.h>
+#include <X11/XprintUtil/xprintutil.h>
+
+/* Prototypes */
+void DoPrint(Widget toplevel,
+ Display *pdpy, XPContext pcontext,
+ const char *jobTitle,
+ const char *toFile);
+
+#endif /* !XMORE_PRINT_H */