@@ -24,7 +24,7 @@
*/
package mtwin.mail;
-signature MainPart {
+typedef MainPart = {
ctype_primary: String,
ctype_secondary: String,
charset: String,
@@ -24,8 +24,6 @@
-import mtwin.mail.Imap;
-
class Tools {
static var BASE64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
@@ -34,7 +34,7 @@ enum FlagMode {
Replace;
}
-signature FetchResponse = {
+typedef FetchResponse = {
id: Int,
uid: Int,
bodyType: String,
@@ -26,7 +26,7 @@ package mtwin.mail.imap;
import mtwin.mail.Exception;
-signature Address = {
+typedef Address = {
name: String,
address: String
package mtwin.mail.imap;
-signature Flags = Array<String>
+typedef Flags = Array<String>
enum Section {
Flags;