summaryrefslogtreecommitdiff
path: root/src/moshortcut.h
diff options
context:
space:
mode:
authorBrian Munro <brian.alexander.munro@gmail.com>2018-02-22 18:02:02 +0200
committerGitHub <noreply@github.com>2018-02-22 18:02:02 +0200
commit28714f0eb800f2170acbf29dddce1582d20d6b8b (patch)
tree0684c123db375336e0e03f0240155a12e744db16 /src/moshortcut.h
parent0bcd752b2758bdb072b498ccc90905276be065e9 (diff)
parent5e5c9c07291f6b09623d31c92b1fb61c4ede576e (diff)
Merge pull request #236 from SuperSandro2000/new_vfs_library
Update reame.md
Diffstat (limited to 'src/moshortcut.h')
-rw-r--r--src/moshortcut.h23
1 files changed, 10 insertions, 13 deletions
diff --git a/src/moshortcut.h b/src/moshortcut.h
index 7b7574b9..8ae5bb24 100644
--- a/src/moshortcut.h
+++ b/src/moshortcut.h
@@ -17,30 +17,27 @@ You should have received a copy of the GNU General Public License
along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>.
*/
-
#pragma once
-
#include <QString>
-
class MOShortcut {
public:
- MOShortcut(const QString& link);
+ MOShortcut(const QString& link);
- /// true iff intialized using a valid moshortcut link
- operator bool() const { return m_valid; }
+ /// true iff intialized using a valid moshortcut link
+ operator bool() const { return m_valid; }
- bool hasInstance() const { return m_hasInstance; }
+ bool hasInstance() const { return m_hasInstance; }
- const QString& instance() const { return m_instance; }
+ const QString& instance() const { return m_instance; }
- const QString& executable() const { return m_executable; }
+ const QString& executable() const { return m_executable; }
private:
- QString m_instance;
- QString m_executable;
- bool m_valid;
- bool m_hasInstance;
+ QString m_instance;
+ QString m_executable;
+ bool m_valid;
+ bool m_hasInstance;
};