VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
installationFinder.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright (c) 2025 MAK Technologies, Inc.
3  * All rights reserved.
4  ******************************************************************************/
5 
6 #pragma once
7 
8 #include <string>
9 #include <vector>
11 
31 {
32 public:
34  {
35  std::string version;
36  std::string installPath;
37 
39  bool isVersionHigher(const std::string& other) const
40  {
41  return compareVersions(version, other) > 0;
42  }
43  };
44 
45 public:
57  static DtSoftwareInfo findHighestMakVersionByName(const std::string& softwareNamePattern);
58 
70  static std::string extractVersionFromName(const std::string& appName);
71 
72 private:
73  static int compareVersions(const std::string& version1, const std::string& version2);
74 
75  static std::vector<int> parseVersion(const std::string& version);
76 };
Finds installed MAK Technologies software on this machine.
Definition: installationFinder.h:30
std::string version
Definition: installationFinder.h:35
Definition: installationFinder.h:33
bool isVersionHigher(const std::string &other) const
Returns true if this version is higher than other.
Definition: installationFinder.h:39
#define DT_DLL_vrfLauncherQt
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfLauncherQtDefines.h:34
std::string installPath
Definition: installationFinder.h:36

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)