IprintStrictMode.java 584 B

12345678910111213141516171819202122232425262728293031
  1. package epson.print;
  2. public class IprintStrictMode {
  3. static StrictModeInterface mStrictMode = new DummyStrictMode();
  4. interface StrictModeInterface {
  5. void permitAll();
  6. void restoreStatus();
  7. void start();
  8. }
  9. public static StrictModeInterface getStrictMode() {
  10. return mStrictMode;
  11. }
  12. static class DummyStrictMode implements StrictModeInterface {
  13. public void permitAll() {
  14. }
  15. public void restoreStatus() {
  16. }
  17. public void start() {
  18. }
  19. DummyStrictMode() {
  20. }
  21. }
  22. }