summaryrefslogtreecommitdiff
path: root/launcher/launch/steps/CheckJava.h
diff options
context:
space:
mode:
authorMehmet Samet Duman <yongdohyun@projecttick.org>2026-04-02 17:36:40 +0300
committerMehmet Samet Duman <yongdohyun@projecttick.org>2026-04-02 17:36:40 +0300
commit1d4bf6e8b1208383021e22f61d859e9b721c482d (patch)
tree21c8e0c4350d7c44d817243ebf409be625ea4f21 /launcher/launch/steps/CheckJava.h
parent38c57e163abad6216f7e0f44d401c362c5fd5da6 (diff)
downloadProject-Tick-1d4bf6e8b1208383021e22f61d859e9b721c482d.tar.gz
Project-Tick-1d4bf6e8b1208383021e22f61d859e9b721c482d.zip
NOISSUE reformat MeshMC to new clang format rules and fixed macOS portability issue and java find issue
Signed-off-by: Mehmet Samet Duman <yongdohyun@projecttick.org>
Diffstat (limited to 'launcher/launch/steps/CheckJava.h')
-rw-r--r--launcher/launch/steps/CheckJava.h41
1 files changed, 21 insertions, 20 deletions
diff --git a/launcher/launch/steps/CheckJava.h b/launcher/launch/steps/CheckJava.h
index d7d3cdd086..8de2d7da5a 100644
--- a/launcher/launch/steps/CheckJava.h
+++ b/launcher/launch/steps/CheckJava.h
@@ -17,7 +17,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
- *
+ *
* This file incorporates work covered by the following copyright and
* permission notice:
*
@@ -42,27 +42,28 @@
#include <LoggedProcess.h>
#include <java/JavaChecker.h>
-class CheckJava: public LaunchStep
+class CheckJava : public LaunchStep
{
- Q_OBJECT
-public:
- explicit CheckJava(LaunchTask *parent) :LaunchStep(parent){};
- virtual ~CheckJava() {};
+ Q_OBJECT
+ public:
+ explicit CheckJava(LaunchTask* parent) : LaunchStep(parent) {};
+ virtual ~CheckJava() {};
- virtual void executeTask();
- virtual bool canAbort() const
- {
- return false;
- }
-private slots:
- void checkJavaFinished(JavaCheckResult result);
+ virtual void executeTask();
+ virtual bool canAbort() const
+ {
+ return false;
+ }
+ private slots:
+ void checkJavaFinished(JavaCheckResult result);
-private:
- void printJavaInfo(const QString & version, const QString & architecture, const QString & vendor);
- void printSystemInfo(bool javaIsKnown, bool javaIs64bit);
+ private:
+ void printJavaInfo(const QString& version, const QString& architecture,
+ const QString& vendor);
+ void printSystemInfo(bool javaIsKnown, bool javaIs64bit);
-private:
- QString m_javaPath;
- qlonglong m_javaUnixTime;
- JavaCheckerPtr m_JavaChecker;
+ private:
+ QString m_javaPath;
+ qlonglong m_javaUnixTime;
+ JavaCheckerPtr m_JavaChecker;
};