mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 15:45:46 +08:00
Some cleanup
* removed audio utils from blackmiscfreefunctions (we wanna give it up) * comments * formatting
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
#include "blackcore/contextaudio.h"
|
||||
#include "blackmisc/audio/audioutils.h"
|
||||
#include "audiovolumecomponent.h"
|
||||
#include "ui_audiovolumecomponent.h"
|
||||
|
||||
|
||||
@@ -22,7 +22,6 @@ namespace BlackGui
|
||||
{
|
||||
namespace Components
|
||||
{
|
||||
|
||||
//! Audio volume, mixer
|
||||
class BLACKGUI_EXPORT CAudioVolumeComponent :
|
||||
public QFrame,
|
||||
@@ -62,9 +61,7 @@ namespace BlackGui
|
||||
|
||||
private:
|
||||
QScopedPointer<Ui::CAudioVolumeComponent> ui;
|
||||
|
||||
};
|
||||
|
||||
} // namespace
|
||||
} // namespace
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include "blackcore/contextapplication.h"
|
||||
#include "blackcore/contextaudio.h"
|
||||
#include "blackcore/simulator.h"
|
||||
#include "blackmisc/audio/audioutils.h"
|
||||
#include "blackmisc/project.h"
|
||||
#include "blackmisc/icons.h"
|
||||
|
||||
|
||||
@@ -53,11 +53,11 @@ namespace BlackGui
|
||||
bool m_enabled = true;
|
||||
};
|
||||
|
||||
//! Model filter interface for those who can generate such a filter (e.g. a widget dialog)
|
||||
//! Model filter interface for those who can generate such a filter (e.g. a widget or dialog)
|
||||
template<class ContainerType> class IModelFilterProvider
|
||||
{
|
||||
public:
|
||||
//! Get the filter
|
||||
//! Get the filter, this is the filter itself, not its widget or dialog
|
||||
virtual std::unique_ptr<IModelFilter<ContainerType>> createModelFilter() const = 0;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user