msgbox/
lib.rs

1extern crate thiserror;
2
3pub mod common;
4pub use common::{IconType, MsgBoxError};
5
6/**
7 * GTK+3 (Default)
8 */
9#[cfg(not(any(target_os = "windows", target_os = "macos")))]
10extern crate gtk;
11
12#[cfg(not(any(target_os = "windows", target_os = "macos")))]
13extern crate glib;
14
15#[cfg(not(any(target_os = "windows", target_os = "macos")))]
16mod linux;
17
18#[cfg(not(any(target_os = "windows", target_os = "macos")))]
19pub use linux::*;
20
21/**
22 * Cocoa
23 */
24#[cfg(target_os = "macos")]
25#[macro_use]
26extern crate objc;
27
28#[cfg(target_os = "macos")]
29extern crate cocoa;
30
31#[cfg(target_os = "macos")]
32mod macos;
33
34#[cfg(target_os = "macos")]
35pub use macos::*;
36
37/**
38 * WinAPI
39 */
40#[cfg(target_os = "windows")]
41extern crate winapi;
42
43#[cfg(target_os = "windows")]
44mod windows;
45#[cfg(target_os = "windows")]
46pub use windows::*;