Add differs() method to Matrix.ImageIngo
Signed-off-by: Gergely Polonkai <gergely@polonkai.eu>
This commit is contained in:
parent
2dc42021b6
commit
2a098de9bf
@ -795,6 +795,21 @@ namespace Matrix {
|
|||||||
|
|
||||||
return node;
|
return node;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if two ImageInfo objects are identical.
|
||||||
|
*
|
||||||
|
* @param other the ImageInfo object to compare with
|
||||||
|
* @return true if the two objects hold different values
|
||||||
|
*/
|
||||||
|
public bool
|
||||||
|
differs(ImageInfo other)
|
||||||
|
{
|
||||||
|
return ((size != other.size)
|
||||||
|
|| (height != other.height)
|
||||||
|
|| (width != other.width)
|
||||||
|
|| (mimetype != other.mimetype));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public struct AudioInfo {
|
public struct AudioInfo {
|
||||||
|
Loading…
Reference in New Issue
Block a user