winshift 0.0.6

A cross-platform window change hook library
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::sync::{Arc, RwLock};

use crate::error::WinshiftError;
use crate::FocusChangeHandler;

pub(crate) fn run_hook_with_config(
    _handler: Arc<RwLock<dyn FocusChangeHandler>>,
    _config: &crate::hook::WindowHookConfig,
) -> Result<(), WinshiftError> {
    Err(WinshiftError::UnsupportedPlatform {
        platform: "Windows".to_string(),
        message: "Windows support not yet implemented. Potential approach: SetWinEventHook with EVENT_SYSTEM_FOREGROUND and EVENT_OBJECT_NAMECHANGE".to_string(),
    })
}