Skip to main content

slowshell_plugin_abi/
lib.rs

1// TODO: Add comments for api-ref
2
3#![allow(non_local_definitions)]
4#![allow(non_camel_case_types)]
5#![allow(improper_ctypes_definitions)]
6
7pub use abi_stable::StableAbi;
8pub use abi_stable::export_root_module;
9pub use abi_stable::prefix_type::PrefixTypeTrait;
10pub use abi_stable::std_types::{RBox, ROption, RResult, RSlice, RStr, RString, RVec};
11
12pub mod event;
13pub mod host;
14pub mod payload;
15pub mod root;
16pub mod sdk;
17pub mod store;
18pub mod surfaces;
19pub mod types;
20
21pub use event::*;
22pub use host::*;
23pub use payload::*;
24pub use root::*;
25pub use sdk::*;
26pub use store::*;
27pub use surfaces::*;
28pub use types::*;
29
30pub mod prelude {
31  pub use crate::event::{
32    Args, CompositorEvent, Event, EventFilter, ItemEffect, Message, WidgetEvent, WidgetEventKind,
33  };
34  pub use crate::export_plugin;
35  pub use crate::host::{Context, Host, HostRef, Options, ServiceContext, StyleRef};
36  pub use crate::payload::{PayloadBox, PayloadParser, PayloadParserBox};
37  pub use crate::root::{PluginDependency, PluginMod, PluginMod_Ref};
38  pub use crate::sdk::HostExt;
39  pub use crate::store::{Store, StoreBorrow};
40  pub use crate::surfaces::{
41    Component, Compositor, DeployResult, DeployableDesktopItem, DeployedItem, DesktopItem,
42    ForegroundService, Payload, QuickSettings, Renderable, Service, Spotlight,
43  };
44  pub use crate::types::*;
45  pub use abi_stable::std_types::{RBox, ROption, RResult, RSlice, RStr, RString, RVec};
46}
47
48pub mod reexport {
49  pub use abi_stable;
50  pub use iced;
51  pub use iced_anim;
52  pub use icss;
53  pub use kdl;
54  pub use ron;
55  pub use serde;
56  pub use slowshell_core as core;
57}