aboutsummaryrefslogtreecommitdiff
path: root/src/dummy_pw_utils.rs
blob: a0939cd54245a7fa7b273902e51d82be349fa577 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
use anyhow::bail;
use smithay::reexports::calloop::LoopHandle;

use crate::niri::State;

pub struct PipeWire;
pub struct Cast;

impl PipeWire {
    pub fn new(_event_loop: &LoopHandle<'static, State>) -> anyhow::Result<Self> {
        bail!("PipeWire support is disabled (see \"xdp-gnome-screencast\" feature)");
    }
}