From 487929df7fb572f49221b64364ecca28de898a00 Mon Sep 17 00:00:00 2001 From: Mike Kestner Date: Thu, 18 Nov 2004 21:51:56 +0000 Subject: [PATCH] 2004-11-18 Mike Kestner * generator/AliasGen.cs : make this a SimpleGen. svn path=/trunk/gtk-sharp/; revision=36288 --- ChangeLog | 4 +++ generator/AliasGen.cs | 74 ++----------------------------------------- 2 files changed, 6 insertions(+), 72 deletions(-) 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) {} } }