Home
last modified time | relevance | path

Searched refs:CJavaPath (Results 1 – 8 of 8) sorted by relevance

/sdk/find_java2/src/
DJavaPath.cpp25 const CJavaPath CJavaPath::sEmpty = CJavaPath();
27 CJavaPath::CJavaPath(int version, CPath path) : mVersion(version), mPath(path) { in CJavaPath() function in CJavaPath
31 bool CJavaPath::isEmpty() const { in isEmpty()
35 void CJavaPath::clear() { in clear()
40 void CJavaPath::set(int version, CPath path) { in set()
46 CString CJavaPath::getVersion() const { in getVersion()
53 bool CJavaPath::toShortPath() { in toShortPath()
79 bool CJavaPath::operator< (const CJavaPath& rhs) const { in operator <()
90 bool CJavaPath::operator== (const CJavaPath& rhs) const { in operator ==()
DJavaPath.h30 struct CJavaPath { struct
35 static const CJavaPath sEmpty; argument
37 CJavaPath() : mVersion(0) {} in CJavaPath() argument
38 CJavaPath(int version, CPath path);
55 bool operator< (const CJavaPath& rhs) const;
56 bool operator== (const CJavaPath& rhs) const;
DJavaFinder.h34 CJavaPath getRegistryPath();
38 bool setRegistryPath(const CJavaPath &javaPath);
42 void findJavaPaths(std::set<CJavaPath> *paths);
48 bool checkJavaPath(const CString &path, CJavaPath *outPath);
DFindJava2Dlg.cpp126 CJavaPath javaPath; in OnBnClickedButtonAdd()
131 CJavaPath(mJavaFinder->getMinVersion(), CPath()).getVersion(), in OnBnClickedButtonAdd()
200 const CJavaPath& CFindJava2Dlg::getSelectedPath() { in getSelectedPath()
202 for (const CJavaPath &p : mPaths) { in getSelectedPath()
209 return CJavaPath::sEmpty; in getSelectedPath()
217 for (const CJavaPath& pv : mPaths) { in fillPathsList()
234 void CFindJava2Dlg::selectPath(int index, const CJavaPath *path) { in selectPath()
236 const CJavaPath *foundPath; in selectPath()
241 for (const CJavaPath &p : mPaths) { in selectPath()
DFindJava2Dlg.h31 const CJavaPath& getSelectedPath();
55 std::set<CJavaPath> mPaths;
63 void selectPath(int index = -1, const CJavaPath *path = nullptr);
DJavaFinder.cpp254 static void findJavaInEnvPath(std::set<CJavaPath> *outPaths) { in findJavaInEnvPath()
262 outPaths->insert(CJavaPath(v, p)); in findJavaInEnvPath()
279 outPaths->insert(CJavaPath(v, p)); in findJavaInEnvPath()
339 static int exploreJavaRegistry(const TCHAR *entry, REGSAM access, std::set<CJavaPath> *outPaths) { in exploreJavaRegistry()
356 outPaths->insert(CJavaPath(v, javaHome)); in exploreJavaRegistry()
395 outPaths->insert(CJavaPath(v, javaHome)); in exploreJavaRegistry()
407 static void findJavaInRegistry(std::set<CJavaPath> *outPaths) { in findJavaInRegistry()
445 static void checkProgramFiles(std::set<CJavaPath> *outPaths) { in checkProgramFiles()
478 outPaths->insert(CJavaPath(v, temp)); in checkProgramFiles()
485 static void findJavaInProgramFiles(std::set<CJavaPath> *outPaths) { in findJavaInProgramFiles()
[all …]
DWinLauncher2App.cpp118 CJavaPath javaPath = javaFinder.getRegistryPath(); in InitInstance()
/sdk/find_java2/FindJava2/
DFindJava2.cpp113 CJavaPath javaPath = javaFinder.getRegistryPath(); in _tmain()
116 std::set<CJavaPath> paths; in _tmain()
119 for (const CJavaPath &p : paths) { in _tmain()
128 const CJavaPath &p = javaPath; in _tmain()