Overte C++ Documentation
RunningMarker.h
1 //
2 // RunningMarker.h
3 // interface/src
4 //
5 // Created by Brad Hefta-Gaub on 2016-10-15.
6 // Copyright 2016 High Fidelity, Inc.
7 //
8 // Distributed under the Apache License, Version 2.0.
9 // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
10 //
11 
12 #ifndef hifi_RunningMarker_h
13 #define hifi_RunningMarker_h
14 
15 #include <QString>
16 
17 class RunningMarker {
18 public:
19  RunningMarker(QString name);
20  ~RunningMarker();
21 
22  QString getFilePath() const;
23 
24  bool fileExists() const;
25 
26  void writeRunningMarkerFile();
27  void deleteRunningMarkerFile();
28 
29 private:
30  QString _name;
31 };
32 
33 #endif // hifi_RunningMarker_h