Browse Source

signature -> typedef

Pascal Peridont 19 years ago
parent
commit
dac5ee5d83

+ 1 - 1
std/mtwin/mail/Browser.hx

@@ -24,7 +24,7 @@
  */
 package mtwin.mail;
 
-signature MainPart {
+typedef MainPart = {
 	ctype_primary: String,
 	ctype_secondary: String,
 	charset: String,

+ 0 - 2
std/mtwin/mail/Tools.hx

@@ -24,8 +24,6 @@
  */
 package mtwin.mail;
 
-import mtwin.mail.Imap;
-
 class Tools {
 
 	static var BASE64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

+ 1 - 1
std/mtwin/mail/imap/Connection.hx

@@ -34,7 +34,7 @@ enum FlagMode {
 	Replace;
 }
 
-signature FetchResponse = {
+typedef FetchResponse = {
 	id: Int,
 	uid: Int,
 	bodyType: String,

+ 1 - 1
std/mtwin/mail/imap/Envelope.hx

@@ -26,7 +26,7 @@ package mtwin.mail.imap;
 
 import mtwin.mail.Exception;
 
-signature Address = {
+typedef Address = {
 	name: String,
 	address: String
 }

+ 1 - 1
std/mtwin/mail/imap/Tools.hx

@@ -24,7 +24,7 @@
  */
 package mtwin.mail.imap;
 
-signature Flags = Array<String>
+typedef Flags = Array<String>
 
 enum Section {
 	Flags;