00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #include "nsISupports.idl"
00027
00043 [scriptable, uuid(10EB215D-D70A-4eee-B5CE-39990B16706C)]
00044 interface sbIWindowMinMaxCallback : nsISupports
00045 {
00053 PRInt32 GetMinWidth( );
00054
00062 PRInt32 GetMinHeight( );
00063
00071 PRInt32 GetMaxWidth( );
00072
00080 PRInt32 GetMaxHeight( );
00081
00088 void OnWindowClose( );
00089 };
00090
00098 [scriptable, uuid(5F4ABE1E-76D2-43b5-8D5E-E6E272A49C50)]
00099 interface sbIWindowMinMax : nsISupports
00100 {
00110 void setCallback( in nsISupports window, in sbIWindowMinMaxCallback cb );
00111
00119 void resetCallback( in nsISupports window );
00120 };
00121