using System;
using System.Windows.Forms;
using ToolsManagement;

namespace QC.QMine;

public class SplashScreen_External
{
	private const string APPLICATION_NAME = "QMine";

	private const string SPLASH_FILENAME = "QMINE.png";

	private const bool IS_GUI = true;

	private const string CUSTOM_TEXT = "";

	private const bool IS_SILENT_SPLASH = false;

	private const int EXTRA_MS = 0;

	public void ShowSplash()
	{
		if (ToolsManagement.SplashLibrary.LaunchSplash("QMine", "QMINE.png", bGUI: true, "") != 0)
		{
			MessageBox.Show("Setup Error. Please Contact Qualcomm Tools Support");
			Environment.Exit(1);
		}
	}
}
