Skip to content

Commit

Permalink
Fix Swift build
Browse files Browse the repository at this point in the history
  • Loading branch information
bernardnormier committed Dec 27, 2023
1 parent 2f07df4 commit e244738
Show file tree
Hide file tree
Showing 5 changed files with 11,836 additions and 11,104 deletions.
16 changes: 16 additions & 0 deletions cpp/include/Ice/Communicator.h
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,22 @@ class ICE_CLASS(ICE_API) Communicator
* @see #findAdminFacet
*/
virtual ::Ice::FacetMap findAllAdminFacets() = 0;

#ifdef ICE_SWIFT
/**
* Returns the client dispatch queue.
* @return The dispatch queue associated wih this Communicator's
* client thread pool.
*/
virtual dispatch_queue_t getClientDispatchQueue() const = 0;

/**
* Returns the server dispatch queue.
* @return The dispatch queue associated wih the Communicator's
* server thread pool.
*/
virtual dispatch_queue_t getServerDispatchQueue() const = 0;
#endif
};

}
Expand Down
4 changes: 4 additions & 0 deletions cpp/include/Ice/ObjectAdapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,10 @@ class ICE_CLASS(ICE_API) ObjectAdapter
* @see Endpoint
*/
virtual void setPublishedEndpoints(const EndpointSeq& newEndpoints) = 0;

#ifdef ICE_SWIFT
virtual dispatch_queue_t getDispatchQueue() const = 0;
#endif
};

}
Expand Down
Loading

0 comments on commit e244738

Please sign in to comment.