// Path: app/src/main/java/com/joanzapata/iconify/Iconify.java
// public class Iconify {
// 
//     /** List of icon font descriptors */
//     private static List<IconFontDescriptorWrapper> iconFontDescriptors = new ArrayList<IconFontDescriptorWrapper>();
// 
//     /**
//      * Add support for a new icon font.
//      * @param iconFontDescriptor The IconDescriptor holding the ttf file reference and its mappings.
//      * @return An initializer instance for chain calls.
//      */
//     public static IconifyInitializer with(IconFontDescriptor iconFontDescriptor) {
//         return new IconifyInitializer(iconFontDescriptor);
//     }
// 
//     /**
//      * Replace "{}" tags in the given text views with actual icons, requesting the IconFontDescriptors
//      * one after the others.<p>
//      * <strong>This is a one time call.</strong> If you call {@link TextView#setText(CharSequence)} after this,
//      * you'll need to call it again.
//      * @param textViews The TextView(s) to enhance.
//      */
//     public static void addIcons(TextView... textViews) {
//         for (TextView textView : textViews) {
//             if (textView == null) continue;
//             textView.setText(compute(textView.getContext(), textView.getText(), textView));
//         }
//     }
// 
//     private static void addIconFontDescriptor(IconFontDescriptor iconFontDescriptor) {
// 
//         // Prevent duplicates
//         for (IconFontDescriptorWrapper wrapper : iconFontDescriptors) {
//             if (wrapper.getIconFontDescriptor().ttfFileName()
//                     .equals(iconFontDescriptor.ttfFileName())) {
//                 return;
//             }
//         }
// 
//         // Add to the list
//         iconFontDescriptors.add(new IconFontDescriptorWrapper(iconFontDescriptor));
// 
//     }
// 
//     public static CharSequence compute(Context context, CharSequence text) {
//         return compute(context, text, null);
//     }
// 
//     public static CharSequence compute(Context context, CharSequence text, TextView target) {
//         return ParsingUtil.parse(context, iconFontDescriptors, text, target);
//     }
// 
//     /**
//      * Allows chain calls on {@link Iconify#with(IconFontDescriptor)}.
//      */
//     public static class IconifyInitializer {
// 
//         public IconifyInitializer(IconFontDescriptor iconFontDescriptor) {
//             Iconify.addIconFontDescriptor(iconFontDescriptor);
//         }
// 
//         /**
//          * Add support for a new icon font.
//          * @param iconFontDescriptor The IconDescriptor holding the ttf file reference and its mappings.
//          * @return An initializer instance for chain calls.
//          */
//         public IconifyInitializer with(IconFontDescriptor iconFontDescriptor) {
//             Iconify.addIconFontDescriptor(iconFontDescriptor);
//             return this;
//         }
//     }
// 
//     /**
//      * Finds the Typeface to apply for a given icon.
//      * @param icon The icon for which you need the typeface.
//      * @return The font descriptor which contains info about the typeface to apply, or null
//      * if the icon cannot be found. In that case, check that you properly added the modules
//      * using {@link #with(IconFontDescriptor)}} prior to calling this method.
//      */
//     public static IconFontDescriptorWrapper findTypefaceOf(Icon icon) {
//         for (IconFontDescriptorWrapper iconFontDescriptor : iconFontDescriptors) {
//             if (iconFontDescriptor.hasIcon(icon)) {
//                 return iconFontDescriptor;
//             }
//         }
//         return null;
//     }
// 
// 
//     /**
//      * Retrieve an icon from a key,
//      * @return The icon, or null if no icon matches the key.
//      */
//     public static Icon findIconForKey(String iconKey) {
//         for (int i = 0, iconFontDescriptorsSize = iconFontDescriptors.size(); i < iconFontDescriptorsSize; i++) {
//             IconFontDescriptorWrapper iconFontDescriptor = iconFontDescriptors.get(i);
//             Icon icon = iconFontDescriptor.getIcon(iconKey);
//             if (icon != null) return icon;
//         }
//         return null;
//     }
// }
// 
// Path: app/src/main/java/com/joanzapata/iconify/fonts/FontAwesomeModule.java
// public class FontAwesomeModule implements IconFontDescriptor {
// 
//     @Override
//     public String ttfFileName() {
//         return "iconify/android-iconify-fontawesome.ttf";
//     }
// 
//     @Override
//     public Icon[] characters() {
//         return FontAwesomeIcons.values();
//     }
// }
// 
// Path: app/src/main/java/in/co/gorest/grblcontroller/network/GoRestService.java
// public interface GoRestService {
// 
// 
//     @POST("/fcm-registration.html")
//     Call<JsonObject> postFcmToken(@Body FcmToken fcmToken);
// 
// 
// 
// }


import androidx.appcompat.app.AppCompatDelegate;
import com.joanzapata.iconify.Iconify;
import com.joanzapata.iconify.fonts.FontAwesomeModule;
import com.orm.SugarApp;
import in.co.gorest.grblcontroller.network.GoRestService;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
/*
 *  /**
 *  * Copyright (C) 2017  Grbl Controller Contributors
 *  *
 *  * This program is free software; you can redistribute it and/or modify
 *  * it under the terms of the GNU General Public License as published by
 *  * the Free Software Foundation; either version 2 of the License, or
 *  * (at your option) any later version.
 *  *
 *  * This program is distributed in the hope that it will be useful,
 *  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  * GNU General Public License for more details.
 *  *
 *  * You should have received a copy of the GNU General Public License along
 *  * with this program; if not, write to the Free Software Foundation, Inc.,
 *  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 *  * <http://www.gnu.org/licenses/>
 *
 */

package in.co.gorest.grblcontroller;




public class GrblController extends SugarApp {

    private final String TAG = GrblController.class.getSimpleName();
    private static GrblController grblController;
// Path: app/src/main/java/com/joanzapata/iconify/Iconify.java
// public class Iconify {
// 
//     /** List of icon font descriptors */
//     private static List<IconFontDescriptorWrapper> iconFontDescriptors = new ArrayList<IconFontDescriptorWrapper>();
// 
//     /**
//      * Add support for a new icon font.
//      * @param iconFontDescriptor The IconDescriptor holding the ttf file reference and its mappings.
//      * @return An initializer instance for chain calls.
//      */
//     public static IconifyInitializer with(IconFontDescriptor iconFontDescriptor) {
//         return new IconifyInitializer(iconFontDescriptor);
//     }
// 
//     /**
//      * Replace "{}" tags in the given text views with actual icons, requesting the IconFontDescriptors
//      * one after the others.<p>
//      * <strong>This is a one time call.</strong> If you call {@link TextView#setText(CharSequence)} after this,
//      * you'll need to call it again.
//      * @param textViews The TextView(s) to enhance.
//      */
//     public static void addIcons(TextView... textViews) {
//         for (TextView textView : textViews) {
//             if (textView == null) continue;
//             textView.setText(compute(textView.getContext(), textView.getText(), textView));
//         }
//     }
// 
//     private static void addIconFontDescriptor(IconFontDescriptor iconFontDescriptor) {
// 
//         // Prevent duplicates
//         for (IconFontDescriptorWrapper wrapper : iconFontDescriptors) {
//             if (wrapper.getIconFontDescriptor().ttfFileName()
//                     .equals(iconFontDescriptor.ttfFileName())) {
//                 return;
//             }
//         }
// 
//         // Add to the list
//         iconFontDescriptors.add(new IconFontDescriptorWrapper(iconFontDescriptor));
// 
//     }
// 
//     public static CharSequence compute(Context context, CharSequence text) {
//         return compute(context, text, null);
//     }
// 
//     public static CharSequence compute(Context context, CharSequence text, TextView target) {
//         return ParsingUtil.parse(context, iconFontDescriptors, text, target);
//     }
// 
//     /**
//      * Allows chain calls on {@link Iconify#with(IconFontDescriptor)}.
//      */
//     public static class IconifyInitializer {
// 
//         public IconifyInitializer(IconFontDescriptor iconFontDescriptor) {
//             Iconify.addIconFontDescriptor(iconFontDescriptor);
//         }
// 
//         /**
//          * Add support for a new icon font.
//          * @param iconFontDescriptor The IconDescriptor holding the ttf file reference and its mappings.
//          * @return An initializer instance for chain calls.
//          */
//         public IconifyInitializer with(IconFontDescriptor iconFontDescriptor) {
//             Iconify.addIconFontDescriptor(iconFontDescriptor);
//             return this;
//         }
//     }
// 
//     /**
//      * Finds the Typeface to apply for a given icon.
//      * @param icon The icon for which you need the typeface.
//      * @return The font descriptor which contains info about the typeface to apply, or null
//      * if the icon cannot be found. In that case, check that you properly added the modules
//      * using {@link #with(IconFontDescriptor)}} prior to calling this method.
//      */
//     public static IconFontDescriptorWrapper findTypefaceOf(Icon icon) {
//         for (IconFontDescriptorWrapper iconFontDescriptor : iconFontDescriptors) {
//             if (iconFontDescriptor.hasIcon(icon)) {
//                 return iconFontDescriptor;
//             }
//         }
//         return null;
//     }
// 
// 
//     /**
//      * Retrieve an icon from a key,
//      * @return The icon, or null if no icon matches the key.
//      */
//     public static Icon findIconForKey(String iconKey) {
//         for (int i = 0, iconFontDescriptorsSize = iconFontDescriptors.size(); i < iconFontDescriptorsSize; i++) {
//             IconFontDescriptorWrapper iconFontDescriptor = iconFontDescriptors.get(i);
//             Icon icon = iconFontDescriptor.getIcon(iconKey);
//             if (icon != null) return icon;
//         }
//         return null;
//     }
// }
// 
// Path: app/src/main/java/com/joanzapata/iconify/fonts/FontAwesomeModule.java
// public class FontAwesomeModule implements IconFontDescriptor {
// 
//     @Override
//     public String ttfFileName() {
//         return "iconify/android-iconify-fontawesome.ttf";
//     }
// 
//     @Override
//     public Icon[] characters() {
//         return FontAwesomeIcons.values();
//     }
// }
// 
// Path: app/src/main/java/in/co/gorest/grblcontroller/network/GoRestService.java
// public interface GoRestService {
// 
// 
//     @POST("/fcm-registration.html")
//     Call<JsonObject> postFcmToken(@Body FcmToken fcmToken);
// 
// 
// 
// }


// Path: app/src/main/java/in/co/gorest/grblcontroller/GrblController.java
import androidx.appcompat.app.AppCompatDelegate;
import com.joanzapata.iconify.Iconify;
import com.joanzapata.iconify.fonts.FontAwesomeModule;
import com.orm.SugarApp;
import in.co.gorest.grblcontroller.network.GoRestService;
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;

/*
 *  /**
 *  * Copyright (C) 2017  Grbl Controller Contributors
 *  *
 *  * This program is free software; you can redistribute it and/or modify
 *  * it under the terms of the GNU General Public License as published by
 *  * the Free Software Foundation; either version 2 of the License, or
 *  * (at your option) any later version.
 *  *
 *  * This program is distributed in the hope that it will be useful,
 *  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  * GNU General Public License for more details.
 *  *
 *  * You should have received a copy of the GNU General Public License along
 *  * with this program; if not, write to the Free Software Foundation, Inc.,
 *  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 *  * <http://www.gnu.org/licenses/>
 *
 */

package in.co.gorest.grblcontroller;




public class GrblController extends SugarApp {

    private final String TAG = GrblController.class.getSimpleName();
    private static GrblController grblController;
    private GoRestService goRestService;