OSDN Git Service

CPU flag CPU_TYPE_X64_AVX now means AVX+AVX2 support is available, instead of just...
[lamexp/LameXP.git] / src / ShellIntegration.h
index 4f0743a..1adaeea 100644 (file)
@@ -1,12 +1,12 @@
 ///////////////////////////////////////////////////////////////////////////////
 // LameXP - Audio Encoder Front-End
-// Copyright (C) 2004-2013 LoRd_MuldeR <MuldeR2@GMX.de>
+// Copyright (C) 2004-2022 LoRd_MuldeR <MuldeR2@GMX.de>
 //
 // This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License as published by
+// it under the terms of the GNU GENERAL PUBLIC LICENSE as published by
 // the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version, but always including the *additional*
-// restrictions defined in the "License.txt" file.
+// (at your option) any later version; always including the non-optional
+// LAMEXP GNU GENERAL PUBLIC LICENSE ADDENDUM. See "License.txt" file!
 //
 // This program is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -34,11 +34,12 @@ class ShellIntegration : public QObject
 
 public:
        static void install(bool async = true);
-       static void remove(bool async = true);
+       static void remove (bool async = true);
 
 private:
        ShellIntegration(void);
 
-       static QStringList *detectTypes(const QString &lamexpFileType, const QString &lamexpShellAction);
+       static void initializeTypes(const QString &lamexpFileType, const QString &lamexpShellAction, QStringList &nativeTypes);
        static QMutex m_mutex;
+       static QAtomicInt m_state;
 };