mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-28 22:03:40 -06:00
- Android Builder merged (thanks Klugier!)
git-svn-id: svn://ultimatepp.org/upp/trunk@8636 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
19c49f9254
commit
264ae6ef62
60 changed files with 5616 additions and 705 deletions
51
uppsrc/ide/Java/Java.h
Normal file
51
uppsrc/ide/Java/Java.h
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
#ifndef JAVA_H
|
||||
#define JAVA_H
|
||||
|
||||
#include <Core/Core.h>
|
||||
|
||||
#include <ide/Core/Core.h>
|
||||
|
||||
NAMESPACE_UPP
|
||||
|
||||
class Java {
|
||||
public:
|
||||
static String GetDelimiter();
|
||||
|
||||
private:
|
||||
Java();
|
||||
Java(const Java&);
|
||||
Java& operator=(const Java&);
|
||||
virtual ~Java();
|
||||
};
|
||||
|
||||
class Jdk {
|
||||
public:
|
||||
static String GetDownloadUrl();
|
||||
|
||||
public:
|
||||
Jdk();
|
||||
Jdk(const String& path);
|
||||
virtual ~Jdk();
|
||||
|
||||
bool Validate() const;
|
||||
|
||||
public:
|
||||
String GetBinDir() const { return path + DIR_SEPS + "bin"; }
|
||||
|
||||
String GetJavacPath() const { return GetBinDir() + DIR_SEPS + "javac" + GetExeExt(); }
|
||||
String GetJavahPath() const { return GetBinDir() + DIR_SEPS + "javah" + GetExeExt(); }
|
||||
String GetJarsignerPath() const { return GetBinDir() + DIR_SEPS + "jarsigner" + GetExeExt(); }
|
||||
String GetKeytoolPath() const { return GetBinDir() + DIR_SEPS + "keytool" + GetExeExt(); }
|
||||
|
||||
public:
|
||||
String GetPath() { return this->path; }
|
||||
|
||||
void SetPath(const String& path) { this->path = path; }
|
||||
|
||||
private:
|
||||
String path;
|
||||
};
|
||||
|
||||
END_UPP_NAMESPACE
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue