1 //============================================================================= 2 // MuseScore 3 // Music Composition & Notation 4 // 5 // Copyright (C) 2020 MuseScore BVBA 6 // 7 // This program is free software; you can redistribute it and/or modify 8 // it under the terms of the GNU General Public License version 2 9 // as published by the Free Software Foundation and appearing in 10 // the file LICENCE.GPL 11 //============================================================================= 12 13 #ifndef OPENFILELOCATION_H 14 #define OPENFILELOCATION_H 15 16 namespace Ms { 17 18 /// A class with static functions to open a file location 19 class OpenFileLocation { 20 Q_DECLARE_TR_FUNCTIONS(Ms::OpenFileLocation); 21 22 public: 23 static bool openFileLocation(const QString& path); 24 static const QString platformText(); 25 }; 26 27 } // namespace Ms 28 29 #endif // OPENFILELOCATION_H 30