comparison dwt/internal/mozilla/imgIContainer.d @ 348:9a4d7706df52

Test Update to fix linux XPCOM interface issues
author John Reimer <terminal.node@gmail.com>
date Fri, 31 Oct 2008 21:46:44 -0700
parents 942da4b6558a
children
comparison
equal deleted inserted replaced
347:ff6dd48f5248 348:9a4d7706df52
11 11
12 const nsIID IMGICONTAINER_IID= 12 const nsIID IMGICONTAINER_IID=
13 {0x1a6290e6, 0x8285, 0x4e10, 13 {0x1a6290e6, 0x8285, 0x4e10,
14 [ 0x96, 0x3d, 0xd0, 0x01, 0xf8, 0xd3, 0x27, 0xb8 ]}; 14 [ 0x96, 0x3d, 0xd0, 0x01, 0xf8, 0xd3, 0x27, 0xb8 ]};
15 15
16 //extern(System)
17 16
18 interface imgIContainer : nsISupports { 17 interface imgIContainer : nsISupports {
19 18
20 static const char[] IID_STR = IMGICONTAINER_IID_STR; 19 static const char[] IID_STR = IMGICONTAINER_IID_STR;
21 static const nsIID IID = IMGICONTAINER_IID; 20 static const nsIID IID = IMGICONTAINER_IID;
22 21
22 extern(System):
23 nsresult Init(PRInt32 aWidth, PRInt32 aHeight, imgIContainerObserver aObserver); 23 nsresult Init(PRInt32 aWidth, PRInt32 aHeight, imgIContainerObserver aObserver);
24 nsresult GetPreferredAlphaChannelFormat(gfx_format *aPreferredAlphaChannelFormat); 24 nsresult GetPreferredAlphaChannelFormat(gfx_format *aPreferredAlphaChannelFormat);
25 nsresult GetWidth(PRInt32 *aWidth); 25 nsresult GetWidth(PRInt32 *aWidth);
26 nsresult GetHeight(PRInt32 *aHeight); 26 nsresult GetHeight(PRInt32 *aHeight);
27 nsresult GetCurrentFrame(gfxIImageFrame *aCurrentFrame); 27 nsresult GetCurrentFrame(gfxIImageFrame *aCurrentFrame);