Skip to content

Commit 1aa9af9

Browse files
authored
refactor(server): replace wildcard re-exports with explicit item list (#1208)
1 parent c98a8fb commit 1aa9af9

1 file changed

Lines changed: 14 additions & 9 deletions

File tree

  • crates/ironrdp-server/src

crates/ironrdp-server/src/lib.rs

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,22 @@ mod helper;
2121
mod server;
2222
mod sound;
2323

24-
// FIXME: too much wildcards here.
25-
pub use clipboard::*;
26-
pub use display::*;
27-
pub use echo::*;
24+
pub use clipboard::CliprdrServerFactory;
25+
pub use display::{
26+
BitmapUpdate, ColorPointer, DesktopSize, DisplayUpdate, Framebuffer, PixelFormat, RGBAPointer, RdpServerDisplay,
27+
RdpServerDisplayUpdates,
28+
};
29+
pub use echo::{EchoDvcBridge, EchoRoundTripMeasurement, EchoServerHandle, EchoServerMessage};
2830
#[cfg(feature = "egfx")]
29-
pub use gfx::*;
30-
pub use handler::*;
31+
pub use gfx::{EgfxServerMessage, GfxDvcBridge, GfxServerFactory, GfxServerHandle};
32+
pub use handler::{KeyboardEvent, MouseEvent, RdpServerInputHandler};
3133
#[cfg(feature = "helper")]
32-
pub use helper::*;
33-
pub use server::*;
34-
pub use sound::*;
34+
pub use helper::TlsIdentityCtx;
35+
pub use server::{
36+
ConnectionHandler, Credentials, PostConnectionAction, RdpServer, RdpServerOptions, RdpServerSecurity, ServerEvent,
37+
ServerEventSender,
38+
};
39+
pub use sound::{RdpsndServerHandler, RdpsndServerMessage, SoundServerFactory};
3540

3641
#[cfg(feature = "__bench")]
3742
pub mod bench {

0 commit comments

Comments
 (0)