[ROSAPPS] Add NLS to TXT file converter
[reactos.git] / rosapps / applications / devutils / nls2txt / main.c
diff --git a/rosapps/applications/devutils/nls2txt/main.c b/rosapps/applications/devutils/nls2txt/main.c
new file mode 100644 (file)
index 0000000..f9c1799
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * PROJECT:     ReactOS NLS to TXT Converter
+ * LICENSE:     GNU General Public License Version 2.0 or any later version
+ * FILE:        devutils/nls2txt/main.c
+ * COPYRIGHT:   Copyright 2016 Dmitry Chapyshev <dmitry@reactos.org>
+ */
+
+#include "precomp.h"
+
+INT wmain(INT argc, WCHAR* argv[])
+{
+    if (argc != 3)
+        return 1;
+
+    if (!BestFit_FromNLS(argv[1], argv[2]))
+        return 1;
+
+    return 0;
+}