From 9b29d638d15368ca83f759c07ca5bbcbbe409f99 Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Wed, 15 Mar 2017 00:09:57 +0100 Subject: [PATCH] Split utf8 from quoted printable --- src/app/converter/quotedprintabledecoder.ts | 1 + src/app/converter/quotedprintableencoder.ts | 1 + {app => src/app}/converter/utf8decoder.ts | 1 + {app => src/app}/converter/utf8encoder.ts | 1 + 4 files changed, 4 insertions(+) rename {app => src/app}/converter/utf8decoder.ts (99%) rename {app => src/app}/converter/utf8encoder.ts (99%) diff --git a/src/app/converter/quotedprintabledecoder.ts b/src/app/converter/quotedprintabledecoder.ts index 7196f65..025a8cb 100644 --- a/src/app/converter/quotedprintabledecoder.ts +++ b/src/app/converter/quotedprintabledecoder.ts @@ -2,6 +2,7 @@ import {Converter} from "./converter"; import {NativeLibraryWrapperService} from "../nativelibrarywrapper.service"; export class QuotedPrintableDecoder implements Converter { + constructor(private nativeLibraryWrapperService:NativeLibraryWrapperService) { } diff --git a/src/app/converter/quotedprintableencoder.ts b/src/app/converter/quotedprintableencoder.ts index 5dfb386..cd7425d 100644 --- a/src/app/converter/quotedprintableencoder.ts +++ b/src/app/converter/quotedprintableencoder.ts @@ -2,6 +2,7 @@ import {Converter} from "./converter"; import {NativeLibraryWrapperService} from "../nativelibrarywrapper.service"; export class QuotedPrintableEncoder implements Converter { + constructor(private nativeLibraryWrapperService:NativeLibraryWrapperService) { } diff --git a/app/converter/utf8decoder.ts b/src/app/converter/utf8decoder.ts similarity index 99% rename from app/converter/utf8decoder.ts rename to src/app/converter/utf8decoder.ts index 2dde0a9..58ca580 100644 --- a/app/converter/utf8decoder.ts +++ b/src/app/converter/utf8decoder.ts @@ -2,6 +2,7 @@ import {Converter} from "./converter"; import {NativeLibraryWrapperService} from "../nativelibrarywrapper.service"; export class UTF8Decoder implements Converter { + constructor(private nativeLibraryWrapperService:NativeLibraryWrapperService) { } diff --git a/app/converter/utf8encoder.ts b/src/app/converter/utf8encoder.ts similarity index 99% rename from app/converter/utf8encoder.ts rename to src/app/converter/utf8encoder.ts index 0e03824..660da6c 100644 --- a/app/converter/utf8encoder.ts +++ b/src/app/converter/utf8encoder.ts @@ -2,6 +2,7 @@ import {Converter} from "./converter"; import {NativeLibraryWrapperService} from "../nativelibrarywrapper.service"; export class UTF8Encoder implements Converter { + constructor(private nativeLibraryWrapperService:NativeLibraryWrapperService) { }