Mercurial > projects > dwt-mac
comparison dwt/browser/FilePicker_1_8.d @ 7:e831403a80a9
Add 'cast' to casts
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 27 Aug 2008 14:30:35 +0200 |
parents | 649b8e223d5a |
children | d8635bb48c7c |
comparison
equal
deleted
inserted
replaced
6:b903c16b6f48 | 7:e831403a80a9 |
---|---|
27 | 27 |
28 filePicker = new XPCOMObject (new int[] {2, 0, 0, 3, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}) { | 28 filePicker = new XPCOMObject (new int[] {2, 0, 0, 3, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}) { |
29 public int /*long*/ method0 (int /*long*/[] args) {return QueryInterface (args[0], args[1]);} | 29 public int /*long*/ method0 (int /*long*/[] args) {return QueryInterface (args[0], args[1]);} |
30 public int /*long*/ method1 (int /*long*/[] args) {return AddRef ();} | 30 public int /*long*/ method1 (int /*long*/[] args) {return AddRef ();} |
31 public int /*long*/ method2 (int /*long*/[] args) {return Release ();} | 31 public int /*long*/ method2 (int /*long*/[] args) {return Release ();} |
32 public int /*long*/ method3 (int /*long*/[] args) {return Init (args[0], args[1], (short)args[2]);} | 32 public int /*long*/ method3 (int /*long*/[] args) {return Init (args[0], args[1], cast(short)args[2]);} |
33 public int /*long*/ method4 (int /*long*/[] args) {return AppendFilters ((int)/*64*/args[0]);} | 33 public int /*long*/ method4 (int /*long*/[] args) {return AppendFilters (cast(int)/*64*/args[0]);} |
34 public int /*long*/ method5 (int /*long*/[] args) {return AppendFilter (args[0], args[1]);} | 34 public int /*long*/ method5 (int /*long*/[] args) {return AppendFilter (args[0], args[1]);} |
35 public int /*long*/ method6 (int /*long*/[] args) {return GetDefaultString (args[0]);} | 35 public int /*long*/ method6 (int /*long*/[] args) {return GetDefaultString (args[0]);} |
36 public int /*long*/ method7 (int /*long*/[] args) {return SetDefaultString (args[0]);} | 36 public int /*long*/ method7 (int /*long*/[] args) {return SetDefaultString (args[0]);} |
37 public int /*long*/ method8 (int /*long*/[] args) {return GetDefaultExtension (args[0]);} | 37 public int /*long*/ method8 (int /*long*/[] args) {return GetDefaultExtension (args[0]);} |
38 public int /*long*/ method9 (int /*long*/[] args) {return SetDefaultExtension (args[0]);} | 38 public int /*long*/ method9 (int /*long*/[] args) {return SetDefaultExtension (args[0]);} |
39 public int /*long*/ method10 (int /*long*/[] args) {return GetFilterIndex (args[0]);} | 39 public int /*long*/ method10 (int /*long*/[] args) {return GetFilterIndex (args[0]);} |
40 public int /*long*/ method11 (int /*long*/[] args) {return SetFilterIndex ((int)/*64*/args[0]);} | 40 public int /*long*/ method11 (int /*long*/[] args) {return SetFilterIndex (cast(int)/*64*/args[0]);} |
41 public int /*long*/ method12 (int /*long*/[] args) {return GetDisplayDirectory (args[0]);} | 41 public int /*long*/ method12 (int /*long*/[] args) {return GetDisplayDirectory (args[0]);} |
42 public int /*long*/ method13 (int /*long*/[] args) {return SetDisplayDirectory (args[0]);} | 42 public int /*long*/ method13 (int /*long*/[] args) {return SetDisplayDirectory (args[0]);} |
43 public int /*long*/ method14 (int /*long*/[] args) {return GetFile (args[0]);} | 43 public int /*long*/ method14 (int /*long*/[] args) {return GetFile (args[0]);} |
44 public int /*long*/ method15 (int /*long*/[] args) {return GetFileURL (args[0]);} | 44 public int /*long*/ method15 (int /*long*/[] args) {return GetFileURL (args[0]);} |
45 public int /*long*/ method16 (int /*long*/[] args) {return GetFiles (args[0]);} | 45 public int /*long*/ method16 (int /*long*/[] args) {return GetFiles (args[0]);} |