[Project64] Remove CNotification::MakeWindowOnTop

This commit is contained in:
zilmar 2015-11-16 07:07:02 +11:00
parent 1a4166a1de
commit f78b812d66
2 changed files with 36 additions and 48 deletions

View File

@ -221,17 +221,6 @@ void CNotification::BringToTop(void)
#endif
}
void CNotification::MakeWindowOnTop(bool OnTop)
{
if (m_hWnd == NULL) { return; }
#if defined(WINDOWS_UI)
m_hWnd->MakeWindowOnTop(OnTop);
#else
g_Notify->BreakPoint(__FILEW__, __LINE__);
#endif
}
void CNotification::ChangeFullScreen(void) const
{
if (m_hWnd == NULL) { return; }

View File

@ -15,54 +15,53 @@
class CSettings;
class CNotification :
CNotificationSettings
CNotificationSettings
{
public:
CNotification ( void );
void AppInitDone ( void );
CNotification(void);
// Make sure we are not in full screen
void WindowMode ( void ) const;
void AppInitDone(void);
//Error Messages
virtual void DisplayError(const wchar_t * Message) const;
virtual void DisplayError(LanguageStringID StringID) const;
// Make sure we are not in full screen
void WindowMode(void) const;
virtual void FatalError(const wchar_t * Message) const;
virtual void FatalError(LanguageStringID StringID) const;
//User Feedback
virtual void DisplayMessage(int DisplayTime, const wchar_t * Message) const;
virtual void DisplayMessage(int DisplayTime, LanguageStringID StringID) const;
//Error Messages
virtual void DisplayError(const wchar_t * Message) const;
virtual void DisplayError(LanguageStringID StringID) const;
virtual void DisplayMessage2(const wchar_t * Message) const;
virtual void BreakPoint(const wchar_t * FileName, const int LineNumber);
virtual void FatalError(const wchar_t * Message) const;
virtual void FatalError(LanguageStringID StringID) const;
void SetWindowCaption ( const wchar_t * Caption );
//Remember roms loaded and Rom Dir selected
void AddRecentDir ( const char * RomDir );
//User Feedback
virtual void DisplayMessage(int DisplayTime, const wchar_t * Message) const;
virtual void DisplayMessage(int DisplayTime, LanguageStringID StringID) const;
//Gui for responses
void SetMainWindow ( CMainGui * Gui );
void RefreshMenu ( void );
void HideRomBrowser ( void );
void ShowRomBrowser ( void );
void MakeWindowOnTop ( bool OnTop );
void BringToTop ( void );
bool ProcessGuiMessages ( void ) const;
void ChangeFullScreen ( void ) const;
void SetGfxPlugin ( CGfxPlugin * Plugin );
virtual void DisplayMessage2(const wchar_t * Message) const;
virtual void BreakPoint(const wchar_t * FileName, const int LineNumber);
void SetWindowCaption(const wchar_t * Caption);
//Remember roms loaded and Rom Dir selected
void AddRecentDir(const char * RomDir);
//Gui for responses
void SetMainWindow(CMainGui * Gui);
void RefreshMenu(void);
void HideRomBrowser(void);
void ShowRomBrowser(void);
void BringToTop(void);
bool ProcessGuiMessages(void) const;
void ChangeFullScreen(void) const;
void SetGfxPlugin(CGfxPlugin * Plugin);
private:
CNotification(const CNotification&); // Disable copy constructor
CNotification& operator=(const CNotification&); // Disable assignment
CNotification(const CNotification&); // Disable copy constructor
CNotification& operator=(const CNotification&); // Disable assignment
CMainGui * m_hWnd;
CGfxPlugin * m_gfxPlugin;
CMainGui * m_hWnd;
CGfxPlugin * m_gfxPlugin;
mutable time_t m_NextMsg;
mutable time_t m_NextMsg;
};
CNotification & Notify ( void );
CNotification & Notify(void);