mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-28 20:19:36 +02:00
47 lines
591 B
C++
47 lines
591 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
|