24 lines
463 B
C++
24 lines
463 B
C++
#pragma once
|
|
|
|
#include <filesystem>
|
|
#include <string>
|
|
|
|
#include "helpers/system.hpp"
|
|
|
|
#include "gdkmm/monitor.h"
|
|
#include "gtk4-layer-shell.h"
|
|
#include "gtkmm/cssprovider.h"
|
|
#include "gtkmm/window.h"
|
|
|
|
|
|
#define DEFAULT_NOTIFICATION_TIMEOUT 4000
|
|
|
|
class BaseNotification : public Gtk::Window {
|
|
public:
|
|
BaseNotification(std::shared_ptr<Gdk::Monitor> monitor);
|
|
|
|
virtual ~BaseNotification() = default;
|
|
|
|
private:
|
|
void ensure_notification_css_loaded();
|
|
}; |