diff --git a/src/Generator/Types/TypeMap.cs b/src/Generator/Types/TypeMap.cs index d9b7d3fc..e25fa961 100644 --- a/src/Generator/Types/TypeMap.cs +++ b/src/Generator/Types/TypeMap.cs @@ -58,7 +58,13 @@ namespace Cxxi.Types } } - public class TypeDatabase + public interface ITypeMapDatabase + { + bool FindTypeMap(Declaration decl, out TypeMap typeMap); + bool FindTypeMap(string name, out TypeMap typeMap); + } + + public class TypeDatabase : ITypeMapDatabase { public IDictionary TypeMaps { get; set; }