2009-02-22 11:43:35 +01:00
|
|
|
|
#region --- License ---
|
|
|
|
|
/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos
|
|
|
|
|
* See license.txt for license info
|
|
|
|
|
*/
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.IO;
|
|
|
|
|
using Bind.Structures;
|
|
|
|
|
|
|
|
|
|
namespace Bind
|
|
|
|
|
{
|
|
|
|
|
interface ISpecWriter
|
|
|
|
|
{
|
|
|
|
|
void WriteBindings(DelegateCollection delegates, FunctionCollection functions,
|
|
|
|
|
EnumCollection enums);
|
|
|
|
|
void WriteDelegates(BindStreamWriter sw, DelegateCollection delegates);
|
|
|
|
|
void WriteWrappers(BindStreamWriter sw, FunctionCollection wrappers, Dictionary<string, string> CSTypes);
|
|
|
|
|
void WriteEnums(BindStreamWriter sw, EnumCollection enums);
|
|
|
|
|
void WriteTypes(BindStreamWriter sw, Dictionary<string, string> CSTypes);
|
2009-03-08 19:08:35 +01:00
|
|
|
|
void WriteLicense(BindStreamWriter sw);
|
2009-02-22 11:43:35 +01:00
|
|
|
|
}
|
|
|
|
|
}
|