AyuGramDesktop/Telegram/SourceFiles/ayu/features/streamer_mode/streamer_mode_linux.cpp
ZavaruKitsu 8e8719870a feat: streamer mode
Co-authored-by: MaxPlays35 <35427519+maxplays35@users.noreply.github.com>
2023-08-30 20:11:28 +00:00

43 lines
606 B
C++

// This is the source code of AyuGram for Desktop.
//
// We do not and cannot prevent the use of our code,
// but be respectful and credit the original author.
//
// Copyright @Radolyn, 2023
#ifndef WIN32
#include "streamer_mode.h"
#include "core/application.h"
#include "window/window_controller.h"
namespace AyuFeatures::StreamerMode
{
bool isEnabledVal;
bool isEnabled()
{
return isEnabledVal;
}
void enable()
{
isEnabledVal = true;
}
void disable()
{
isEnabledVal = false;
}
void hideWidgetWindow(QWidget* widget) {
}
void showWidgetWindow(QWidget* widget) {
}
}
#endif