Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change ImageLoader importing #105

Open
wants to merge 2 commits into
base: 4.7
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@ public import org.eclipse.swt.graphics.ImageLoaderEvent;
public import org.eclipse.swt.graphics.ImageData;

import org.eclipse.swt.SWT;
import org.eclipse.swt.internal.image.FileFormat;

/*
* DWT: Don't change this to a selective import as it's required to make a call
* to Object.factory work correctly (needs to know that the module exists).
* See: https://github.com/d-widget-toolkit/dwt/pull/105
*/
import org.eclipse.swt.internal.image.all;

version(Tango){
import tango.core.Array;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
module org.eclipse.swt.internal.image.all;

public import org.eclipse.swt.internal.image.GIFFileFormat;
public import org.eclipse.swt.internal.image.JPEGAppn;
public import org.eclipse.swt.internal.image.JPEGArithmeticConditioningTable;
public import org.eclipse.swt.internal.image.JPEGComment;
public import org.eclipse.swt.internal.image.JPEGDecoder;
public import org.eclipse.swt.internal.image.JPEGEndOfImage;
public import org.eclipse.swt.internal.image.JPEGFileFormat;
public import org.eclipse.swt.internal.image.JPEGFixedSizeSegment;
public import org.eclipse.swt.internal.image.JPEGFrameHeader;
public import org.eclipse.swt.internal.image.JPEGHuffmanTable;
public import org.eclipse.swt.internal.image.JPEGQuantizationTable;
public import org.eclipse.swt.internal.image.JPEGRestartInterval;
public import org.eclipse.swt.internal.image.JPEGScanHeader;
public import org.eclipse.swt.internal.image.JPEGSegment;
public import org.eclipse.swt.internal.image.JPEGStartOfImage;
public import org.eclipse.swt.internal.image.JPEGVariableSizeSegment;
public import org.eclipse.swt.internal.image.LEDataInputStream;
public import org.eclipse.swt.internal.image.LEDataOutputStream;
public import org.eclipse.swt.internal.image.LZWCodec;
public import org.eclipse.swt.internal.image.LZWNode;
public import org.eclipse.swt.internal.image.OS2BMPFileFormat;
public import org.eclipse.swt.internal.image.PngChunk;
public import org.eclipse.swt.internal.image.PngChunkReader;
public import org.eclipse.swt.internal.image.PngDecodingDataStream;
public import org.eclipse.swt.internal.image.PngDeflater;
public import org.eclipse.swt.internal.image.PngEncoder;
public import org.eclipse.swt.internal.image.PNGFileFormat;
public import org.eclipse.swt.internal.image.PngFileReadState;
public import org.eclipse.swt.internal.image.PngHuffmanTable;
public import org.eclipse.swt.internal.image.PngHuffmanTables;
public import org.eclipse.swt.internal.image.PngIdatChunk;
public import org.eclipse.swt.internal.image.PngIendChunk;
public import org.eclipse.swt.internal.image.PngIhdrChunk;
public import org.eclipse.swt.internal.image.PngInputStream;
public import org.eclipse.swt.internal.image.PngLzBlockReader;
public import org.eclipse.swt.internal.image.PngPlteChunk;
public import org.eclipse.swt.internal.image.PngTrnsChunk;
public import org.eclipse.swt.internal.image.TIFFDirectory;
public import org.eclipse.swt.internal.image.TIFFFileFormat;
public import org.eclipse.swt.internal.image.TIFFModifiedHuffmanCodec;
public import org.eclipse.swt.internal.image.TIFFRandomFileAccess;
public import org.eclipse.swt.internal.image.WinBMPFileFormat;
public import org.eclipse.swt.internal.image.WinICOFileFormat;
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,13 @@ public import org.eclipse.swt.graphics.ImageData;

import org.eclipse.swt.SWT;
import org.eclipse.swt.internal.Compatibility;
import org.eclipse.swt.internal.image.FileFormat;

/*
* DWT: Don't change this to a selective import as it's required to make a call
* to Object.factory work correctly (needs to know that the module exists).
* See: https://github.com/d-widget-toolkit/dwt/pull/105
*/
import org.eclipse.swt.internal.image.all;

import java.util.Vector;
import java.lang.all;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
module org.eclipse.swt.internal.image.all;

public import org.eclipse.swt.internal.image.GIFFileFormat;
public import org.eclipse.swt.internal.image.JPEGAppn;
public import org.eclipse.swt.internal.image.JPEGArithmeticConditioningTable;
public import org.eclipse.swt.internal.image.JPEGComment;
public import org.eclipse.swt.internal.image.JPEGDecoder;
public import org.eclipse.swt.internal.image.JPEGEndOfImage;
public import org.eclipse.swt.internal.image.JPEGFileFormat;
public import org.eclipse.swt.internal.image.JPEGFixedSizeSegment;
public import org.eclipse.swt.internal.image.JPEGFrameHeader;
public import org.eclipse.swt.internal.image.JPEGHuffmanTable;
public import org.eclipse.swt.internal.image.JPEGQuantizationTable;
public import org.eclipse.swt.internal.image.JPEGRestartInterval;
public import org.eclipse.swt.internal.image.JPEGScanHeader;
public import org.eclipse.swt.internal.image.JPEGSegment;
public import org.eclipse.swt.internal.image.JPEGStartOfImage;
public import org.eclipse.swt.internal.image.JPEGVariableSizeSegment;
public import org.eclipse.swt.internal.image.LEDataInputStream;
public import org.eclipse.swt.internal.image.LEDataOutputStream;
public import org.eclipse.swt.internal.image.LZWCodec;
public import org.eclipse.swt.internal.image.LZWNode;
public import org.eclipse.swt.internal.image.OS2BMPFileFormat;
public import org.eclipse.swt.internal.image.PngChunk;
public import org.eclipse.swt.internal.image.PngChunkReader;
public import org.eclipse.swt.internal.image.PngDecodingDataStream;
public import org.eclipse.swt.internal.image.PngDeflater;
public import org.eclipse.swt.internal.image.PngEncoder;
public import org.eclipse.swt.internal.image.PNGFileFormat;
public import org.eclipse.swt.internal.image.PngFileReadState;
public import org.eclipse.swt.internal.image.PngHuffmanTable;
public import org.eclipse.swt.internal.image.PngHuffmanTables;
public import org.eclipse.swt.internal.image.PngIdatChunk;
public import org.eclipse.swt.internal.image.PngIendChunk;
public import org.eclipse.swt.internal.image.PngIhdrChunk;
public import org.eclipse.swt.internal.image.PngInputStream;
public import org.eclipse.swt.internal.image.PngLzBlockReader;
public import org.eclipse.swt.internal.image.PngPlteChunk;
public import org.eclipse.swt.internal.image.PngTrnsChunk;
public import org.eclipse.swt.internal.image.TIFFDirectory;
public import org.eclipse.swt.internal.image.TIFFFileFormat;
public import org.eclipse.swt.internal.image.TIFFModifiedHuffmanCodec;
public import org.eclipse.swt.internal.image.TIFFRandomFileAccess;
public import org.eclipse.swt.internal.image.WinBMPFileFormat;
public import org.eclipse.swt.internal.image.WinICOFileFormat;