diff options
author | jonasno <jonasno@users.sourceforge.net> | 2010-02-19 03:19:24 +0300 |
---|---|---|
committer | jonasno <jonasno@users.sourceforge.net> | 2010-02-19 03:19:24 +0300 |
commit | 321a14e5c96f9edae64bba9f97002431d155ab9f (patch) | |
tree | 588909a26ae207fc76c909c2cdf658bf064dab41 /src/apps/mplayerc/MediaFormats.h | |
parent | ca7ad0034eb7760572223a7e120d1be2e35e34d8 (diff) |
const correction
Patch by tetsuo55
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1677 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/MediaFormats.h')
-rw-r--r-- | src/apps/mplayerc/MediaFormats.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/apps/mplayerc/MediaFormats.h b/src/apps/mplayerc/MediaFormats.h index 5726f03a0..d79b1db8d 100644 --- a/src/apps/mplayerc/MediaFormats.h +++ b/src/apps/mplayerc/MediaFormats.h @@ -56,14 +56,14 @@ public: bool FindExt(CString ext) {return m_exts.Find(ext.TrimLeft(_T(".")).MakeLower()) != NULL;}
- CString GetLabel() {return m_label;}
+ CString GetLabel() const {return m_label;}
CString GetFilter();
CString GetExts(bool fAppendEngine = false);
CString GetExtsWithPeriod(bool fAppendEngine = false);
CString GetBackupExtsWithPeriod(bool fAppendEngine = false);
- CString GetSpecReqNote() {return m_specreqnote;}
- bool IsAudioOnly() {return m_fAudioOnly;}
- engine_t GetEngineType() {return m_engine;}
+ CString GetSpecReqNote() const {return m_specreqnote;}
+ bool IsAudioOnly() const {return m_fAudioOnly;}
+ engine_t GetEngineType() const {return m_engine;}
void SetEngineType(engine_t e) {m_engine = e;}
};
|