diff options
author | Casimir666 <casimir666@users.sourceforge.net> | 2007-09-16 22:01:08 +0400 |
---|---|---|
committer | Casimir666 <casimir666@users.sourceforge.net> | 2007-09-16 22:01:08 +0400 |
commit | d89bcbe908099230315689a1dba7a1ef2fa6b80a (patch) | |
tree | 7b913d123271cfe1271714984c6b7cb2a22bbfab /src/apps/mplayerc/MediaFormats.h | |
parent | e47d0d656bcc0a38cf0d6c4048b3492b280dea05 (diff) |
CHANGED: File format association. MPC is now recognize as a registered application by Vista, and compatible with UAC.
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@226 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/MediaFormats.h')
-rw-r--r-- | src/apps/mplayerc/MediaFormats.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/apps/mplayerc/MediaFormats.h b/src/apps/mplayerc/MediaFormats.h index cfe0682b2..8d9da2c88 100644 --- a/src/apps/mplayerc/MediaFormats.h +++ b/src/apps/mplayerc/MediaFormats.h @@ -30,7 +30,7 @@ class CMediaFormatCategory
{
protected:
- CString m_label, m_specreqnote;
+ CString m_label, m_specreqnote, m_progid;
CAtlList<CString> m_exts, m_backupexts;
bool m_fAudioOnly;
engine_t m_engine;
@@ -38,10 +38,10 @@ protected: public:
CMediaFormatCategory();
CMediaFormatCategory(
- CString label, CAtlList<CString>& exts, bool fAudioOnly = false,
+ CString label, CString CommonExt, CAtlList<CString>& exts, bool fAudioOnly = false,
CString specreqnote = _T(""), engine_t e = DirectShow);
CMediaFormatCategory(
- CString label, CString exts, bool fAudioOnly = false,
+ CString label, CString CommonExt, CString exts, bool fAudioOnly = false,
CString specreqnote = _T(""), engine_t e = DirectShow);
virtual ~CMediaFormatCategory();
@@ -65,6 +65,7 @@ public: bool IsAudioOnly() {return m_fAudioOnly;}
engine_t GetEngineType() {return m_engine;}
void SetEngineType(engine_t e) {m_engine = e;}
+ CString GetProgId() { return m_progid; };
};
class CMediaFormats : public CAtlArray<CMediaFormatCategory>
|