Skip to content

Commit

Permalink
Re-export all structs necessary to process client notifications publi…
Browse files Browse the repository at this point in the history
…cly (#29)
  • Loading branch information
jasongrlicky authored May 26, 2020
1 parent 2f53082 commit c1bee2f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 7 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,13 @@ pub use endpoints::destinations::Destinations;
pub use endpoints::sources::Sources;
pub use packets::{PacketListIterator, Packet, PacketBuffer};
pub use properties::{Properties, PropertyGetter, PropertySetter};
pub use notifications::Notification;
pub use notifications::{
AddedRemovedInfo,
IOErrorInfo,
Notification,
PropertyChangedInfo,
};
pub use object::ObjectType;

/// Unschedules previously-sent packets for all the endpoints.
/// See [MIDIFlushOutput](https://developer.apple.com/reference/coremidi/1495312-midiflushoutput).
Expand Down
3 changes: 1 addition & 2 deletions src/object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ use properties::{
StringProperty, IntegerProperty, BooleanProperty
};

#[derive(Debug)]
#[derive(PartialEq)]
#[derive(Copy, Clone, Debug, Hash, PartialEq, Eq)]
pub enum ObjectType {
Other,
Device,
Expand Down

0 comments on commit c1bee2f

Please sign in to comment.