[Projet64] Cleanup Notification Settings.cpp

This commit is contained in:
zilmar 2015-11-15 08:07:53 +11:00
parent 5be42089b0
commit ce062e70ed
2 changed files with 18 additions and 18 deletions

View File

@ -20,7 +20,7 @@ CNotificationSettings::~CNotificationSettings()
{ {
if (g_Settings) if (g_Settings)
{ {
g_Settings->UnregisterChangeCB(UserInterface_InFullScreen,this,(CSettings::SettingChangedFunc)StaticRefreshSettings); g_Settings->UnregisterChangeCB(UserInterface_InFullScreen, this, (CSettings::SettingChangedFunc)StaticRefreshSettings);
} }
} }

View File

@ -12,12 +12,12 @@
class CNotificationSettings class CNotificationSettings
{ {
static void StaticRefreshSettings (CNotificationSettings * _this) static void StaticRefreshSettings(CNotificationSettings * _this)
{ {
_this->RefreshSettings(); _this->RefreshSettings();
} }
void RefreshSettings ( void ); void RefreshSettings(void);
static bool m_bInFullScreen; static bool m_bInFullScreen;
@ -25,6 +25,6 @@ protected:
CNotificationSettings(); CNotificationSettings();
virtual ~CNotificationSettings(); virtual ~CNotificationSettings();
void RegisterNotifications (void); void RegisterNotifications(void);
inline bool InFullScreen ( void ) const { return m_bInFullScreen; } inline bool InFullScreen(void) const { return m_bInFullScreen; }
}; };