Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/ikvm-fork.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsmallsql <smallsql>2009-03-03 23:05:35 +0300
committersmallsql <smallsql>2009-03-03 23:05:35 +0300
commitdf3d349a2759b6e8ae9795231150b4b719f2d5fd (patch)
tree522172e5b6b9a84f4d2ca95f439dd1e84b861487 /openjdk/sun/print/PrintPeer.java
parent05fb280b281f4752ee1eae889b6f4c1b76d2e2c0 (diff)
Add a PrintPeer as helper class for the print API
Diffstat (limited to 'openjdk/sun/print/PrintPeer.java')
-rw-r--r--openjdk/sun/print/PrintPeer.java34
1 files changed, 34 insertions, 0 deletions
diff --git a/openjdk/sun/print/PrintPeer.java b/openjdk/sun/print/PrintPeer.java
new file mode 100644
index 00000000..01693579
--- /dev/null
+++ b/openjdk/sun/print/PrintPeer.java
@@ -0,0 +1,34 @@
+/*
+ Copyright (C) 2009 Volker Berlin (i-net software)
+
+ This software is provided 'as-is', without any express or implied
+ warranty. In no event will the authors be held liable for any damages
+ arising from the use of this software.
+
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute it
+ freely, subject to the following restrictions:
+
+ 1. The origin of this software must not be misrepresented; you must not
+ claim that you wrote the original software. If you use this software
+ in a product, an acknowledgment in the product documentation would be
+ appreciated but is not required.
+ 2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original software.
+ 3. This notice may not be removed or altered from any source distribution.
+
+ Jeroen Frijters
+ jeroen@frijters.net
+
+ */
+package sun.print;
+
+
+
+/**
+ * A helper interface for implementing the print API for IKVM
+ */
+public interface PrintPeer{
+
+ public Object getPrinterStatus(String PrinterName, Class category);
+}