diff --git a/ChangeLog b/ChangeLog index 3260f75b3..16946dd06 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-11-18 Mike Kestner + + * generator/AliasGen.cs : make this a SimpleGen. + 2004-11-18 Mike Kestner * parser/gapi2xml.pl : fix a missing semi in a vm regex. diff --git a/generator/AliasGen.cs b/generator/AliasGen.cs index f4da7a856..4a157b90e 100644 --- a/generator/AliasGen.cs +++ b/generator/AliasGen.cs @@ -22,79 +22,9 @@ namespace GtkSharp.Generation { using System; - public class AliasGen : IGeneratable { - - string type; - string ctype; - - public AliasGen (string ctype, string type) - { - this.ctype = ctype; - this.type = type; - } - - public string CName { - get - { - return ctype; - } - } - - public string Name { - get - { - return type; - } - } - - public string QualifiedName { - get - { - return type; - } - } - - public string MarshalType { - get - { - return type; - } - } - public virtual string MarshalReturnType { - get - { - return type; - } - } - - public string CallByName (string var_name) - { - return var_name; - } - - public string FromNative(string var) - { - return var; - } - - public virtual string FromNativeReturn(string var) - { - return var; - } - - public virtual string ToNativeReturn(string var) - { - return var; - } - - public void Generate () - { - } - - public void Generate (GenerationInfo gen_info) - { - } + public class AliasGen : SimpleGen { + public AliasGen (string ctype, string type) : base (ctype, type) {} } }