project/com.nokia.carbide.cpp.epoc.engine/src/com/nokia/carbide/cpp/epoc/engine/image/ImageFormat.java
changeset 610 bfb3ab3f70f2
parent 0 fb279309251b
equal deleted inserted replaced
609:bf7dbec89c47 610:bfb3ab3f70f2
    25  * is-color/depth/mask depth strings used in Symbian build files.
    25  * is-color/depth/mask depth strings used in Symbian build files.
    26  *
    26  *
    27  */
    27  */
    28 public class ImageFormat {
    28 public class ImageFormat {
    29 	// tolerate but ignore extra 'c'
    29 	// tolerate but ignore extra 'c'
    30 	private static final Pattern FORMAT_PATTERN = Pattern.compile("/?(c?)(\\d+)(,c?(\\d+))?", //$NON-NLS-1$
    30 	private static final Pattern FORMAT_PATTERN = Pattern.compile("[/-]?(c?)(\\d+)(,c?(\\d+))?", //$NON-NLS-1$
    31 			Pattern.CASE_INSENSITIVE);
    31 			Pattern.CASE_INSENSITIVE);
    32 	public boolean isColor;
    32 	public boolean isColor;
    33 	public int depth;
    33 	public int depth;
    34 	public int maskDepth;
    34 	public int maskDepth;
    35 	
    35