package cgeo.geocaching.apps.cache;

import cgeo.geocaching.R;

public class GccApp extends AbstractGeneralApp {
    public GccApp() {
        super(getString(R.string.cache_menu_gcc), "eisbehr.gcc");
    }
}

@@ -60,143 +60,723 @@
 .R;%0A
-%0Apublic class GccApp extends AbstractGeneralApp %7B%0A    public GccApp() %7B%0A        super(getString(R.string.cache_menu_gcc), %22eisbehr.gcc%22
+import cgeo.geocaching.utils.ProcessUtils;%0A%0Aimport android.content.Intent;%0A%0Apublic class GccApp extends AbstractGeneralApp %7B%0A    private static final String PACKAGE = %22eisbehr.gcc%22;%0A    private static final String PACKAGE_PRO = %22eisbehr.gcc.pro%22;%0A%0A    public GccApp() %7B%0A        super(getString(R.string.cache_menu_gcc), null);%0A    %7D%0A%0A    @Override%0A    public boolean isInstalled() %7B%0A        return ProcessUtils.isLaunchable(PACKAGE) %7C%7C ProcessUtils.isLaunchable(PACKAGE_PRO);%0A    %7D%0A%0A    @Override%0A    protected Intent getLaunchIntent() %7B%0A        if (ProcessUtils.isLaunchable(PACKAGE_PRO)) %7B%0A            return ProcessUtils.getLaunchIntent(PACKAGE_PRO);%0A        %7D%0A        return ProcessUtils.getLaunchIntent(PACKAGE
 );%0A 

fix #3087: GCC pro was not recognized