Skip to content

Commit

Permalink
Make functions private that are only used internally
Browse files Browse the repository at this point in the history
  • Loading branch information
garbear committed Mar 30, 2018
1 parent 0b20d2c commit e484834
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions xbmc/guilib/StereoscopicsManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,6 @@ class CStereoscopicsManager : public ISettingCallback,
RENDER_STEREO_MODE GetStereoModeOfPlayingVideo(void) const;
std::string GetLabelForStereoMode(const RENDER_STEREO_MODE &mode) const;
RENDER_STEREO_MODE GetPreferredPlaybackMode(void) const;
static int ConvertVideoToGuiStereoMode(const std::string &mode);
/**
* @brief will convert a string representation into a GUI stereo mode
* @param mode The string to convert
* @return -1 if not found, otherwise the according int of the RENDER_STEREO_MODE enum
*/
static int ConvertStringToGuiStereoMode(const std::string &mode);
static const char* ConvertGuiStereoModeToString(const RENDER_STEREO_MODE &mode);

/**
Expand Down Expand Up @@ -98,6 +91,14 @@ class CStereoscopicsManager : public ISettingCallback,
std::string GetVideoStereoMode() const;
bool IsVideoStereoscopic() const;

/**
* @brief will convert a string representation into a GUI stereo mode
* @param mode The string to convert
* @return -1 if not found, otherwise the according int of the RENDER_STEREO_MODE enum
*/
static int ConvertStringToGuiStereoMode(const std::string &mode);
static int ConvertVideoToGuiStereoMode(const std::string &mode);

// Construction parameters
CSettings &m_settings;
CDataCacheCore &m_dataCacheCore;
Expand Down

0 comments on commit e484834

Please # to comment.