mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 18:35:35 +08:00
refs #485, moved central GUI functionality to sGui
* allow to send status message to main window (from everywhere) * Use sGui::changedStylesheet where possible * message when model is stashed * improved application startup
This commit is contained in:
committed by
Mathew Sutcliffe
parent
b1353cefd4
commit
fb046ae1fb
31
src/blackgui/mainwindowaccess.h
Normal file
31
src/blackgui/mainwindowaccess.h
Normal file
@@ -0,0 +1,31 @@
|
||||
/* Copyright (C) 2016
|
||||
* swift project Community / Contributors
|
||||
*
|
||||
* This file is part of swift Project. It is subject to the license terms in the LICENSE file found in the top-level
|
||||
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
|
||||
* including this file, may be copied, modified, propagated, or distributed except according to the terms
|
||||
* contained in the LICENSE file.
|
||||
*/
|
||||
|
||||
#ifndef BLACKGUI_MAINWINDOWACCESS_H
|
||||
#define BLACKGUI_MAINWINDOWACCESS_H
|
||||
|
||||
#include "blackmisc/statusmessage.h"
|
||||
|
||||
namespace BlackGui
|
||||
{
|
||||
/*!
|
||||
* Direct acccess to main window`s status bar, info bar and such
|
||||
*/
|
||||
class IMainWindowAccess
|
||||
{
|
||||
public:
|
||||
//! Display in status bar
|
||||
virtual bool displayInStatusBar(const BlackMisc::CStatusMessage &message) = 0;
|
||||
|
||||
//! Display in overlay window
|
||||
virtual bool displayInOverlayWindow(const BlackMisc::CStatusMessage &message) = 0;
|
||||
};
|
||||
} // ns
|
||||
|
||||
#endif // guard
|
||||
Reference in New Issue
Block a user