comparison dwt/browser/Download.d @ 7:e831403a80a9

Add 'cast' to casts
author Frank Benoit <benoit@tionex.de>
date Wed, 27 Aug 2008 14:30:35 +0200
parents 1a8b3cb347e0
children d8635bb48c7c
comparison
equal deleted inserted replaced
6:b903c16b6f48 7:e831403a80a9
98 public int /*long*/ method13 (int /*long*/[] args) {return SetListener (args[0]);} 98 public int /*long*/ method13 (int /*long*/[] args) {return SetListener (args[0]);}
99 public int /*long*/ method14 (int /*long*/[] args) {return GetObserver (args[0]);} 99 public int /*long*/ method14 (int /*long*/[] args) {return GetObserver (args[0]);}
100 public int /*long*/ method15 (int /*long*/[] args) {return SetObserver (args[0]);} 100 public int /*long*/ method15 (int /*long*/[] args) {return SetObserver (args[0]);}
101 public int /*long*/ method16 (int /*long*/[] args) {return Open (args[0]);} 101 public int /*long*/ method16 (int /*long*/[] args) {return Open (args[0]);}
102 public int /*long*/ method17 (int /*long*/[] args) {return GetCancelDownloadOnClose (args[0]);} 102 public int /*long*/ method17 (int /*long*/[] args) {return GetCancelDownloadOnClose (args[0]);}
103 public int /*long*/ method18 (int /*long*/[] args) {return SetCancelDownloadOnClose ((int)/*64*/args[0]);} 103 public int /*long*/ method18 (int /*long*/[] args) {return SetCancelDownloadOnClose (cast(int)/*64*/args[0]);}
104 public int /*long*/ method19 (int /*long*/[] args) {return GetDialog (args[0]);} 104 public int /*long*/ method19 (int /*long*/[] args) {return GetDialog (args[0]);}
105 public int /*long*/ method20 (int /*long*/[] args) {return SetDialog (args[0]);} 105 public int /*long*/ method20 (int /*long*/[] args) {return SetDialog (args[0]);}
106 }; 106 };
107 107
108 webProgressListener = new XPCOMObject (new int[] {2, 0, 0, 4, 6, 3, 4, 3}) { 108 webProgressListener = new XPCOMObject (new int[] {2, 0, 0, 4, 6, 3, 4, 3}) {
109 public int /*long*/ method0 (int /*long*/[] args) {return QueryInterface (args[0], args[1]);} 109 public int /*long*/ method0 (int /*long*/[] args) {return QueryInterface (args[0], args[1]);}
110 public int /*long*/ method1 (int /*long*/[] args) {return AddRef ();} 110 public int /*long*/ method1 (int /*long*/[] args) {return AddRef ();}
111 public int /*long*/ method2 (int /*long*/[] args) {return Release ();} 111 public int /*long*/ method2 (int /*long*/[] args) {return Release ();}
112 public int /*long*/ method3 (int /*long*/[] args) {return OnStateChange (args[0], args[1], (int)/*64*/args[2], (int)/*64*/args[3]);} 112 public int /*long*/ method3 (int /*long*/[] args) {return OnStateChange (args[0], args[1], cast(int)/*64*/args[2], cast(int)/*64*/args[3]);}
113 public int /*long*/ method4 (int /*long*/[] args) {return OnProgressChange (args[0], args[1], (int)/*64*/args[2], (int)/*64*/args[3], (int)/*64*/args[4], (int)/*64*/args[5]);} 113 public int /*long*/ method4 (int /*long*/[] args) {return OnProgressChange (args[0], args[1], cast(int)/*64*/args[2], cast(int)/*64*/args[3], cast(int)/*64*/args[4], cast(int)/*64*/args[5]);}
114 public int /*long*/ method5 (int /*long*/[] args) {return OnLocationChange (args[0], args[1], args[2]);} 114 public int /*long*/ method5 (int /*long*/[] args) {return OnLocationChange (args[0], args[1], args[2]);}
115 public int /*long*/ method6 (int /*long*/[] args) {return OnStatusChange (args[0], args[1], (int)/*64*/args[2], args[3]);} 115 public int /*long*/ method6 (int /*long*/[] args) {return OnStatusChange (args[0], args[1], cast(int)/*64*/args[2], args[3]);}
116 public int /*long*/ method7 (int /*long*/[] args) {return OnSecurityChange (args[0], args[1], (int)/*64*/args[2]);} 116 public int /*long*/ method7 (int /*long*/[] args) {return OnSecurityChange (args[0], args[1], cast(int)/*64*/args[2]);}
117 }; 117 };
118 } 118 }
119 119
120 void disposeCOMInterfaces () { 120 void disposeCOMInterfaces () {
121 if (supports !is null) { 121 if (supports !is null) {