diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-06-10 11:59:22 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2014-06-10 11:59:22 +0000 |
| commit | ec77098a9e0e649876922e5f838c464d678a66f8 (patch) | |
| tree | 0cbac3506b82bc46a1b792162c1b11009c365e8a /src/qmmpui/winfileassoc.h | |
| parent | b3c4a6c2abfb741c5c2ac791d88e5a84a57eefb7 (diff) | |
| download | qmmp-ec77098a9e0e649876922e5f838c464d678a66f8.tar.gz qmmp-ec77098a9e0e649876922e5f838c464d678a66f8.tar.bz2 qmmp-ec77098a9e0e649876922e5f838c464d678a66f8.zip | |
improved windows file associations support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@4315 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/winfileassoc.h')
| -rw-r--r-- | src/qmmpui/winfileassoc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qmmpui/winfileassoc.h b/src/qmmpui/winfileassoc.h index 7c5a5b351..9b7af9f2c 100644 --- a/src/qmmpui/winfileassoc.h +++ b/src/qmmpui/winfileassoc.h @@ -40,14 +40,13 @@ protected: protected: bool CreateClassId(const QString& executablePath, const QString& friendlyName); - bool RemoveClassId(); bool VistaGetDefaultApps(const QStringList &extensions, QStringList& registeredExt); int VistaSetAppsAsDefault(const QStringList& extensions); public: WinFileAssoc(const QString ClassId = "QmmpFileAudio", const QString AppName="Qmmp"); //Checks the registry to see which extensions are registered with SMPlayer bool GetRegisteredExtensions(const QStringList& extensionsToCheck, QStringList& registeredExtensions); - + bool RemoveClassId(); int CreateFileAssociations(const QStringList& fileExtensions); int RestoreFileAssociations(const QStringList& fileExtensions); }; |
