From 8b47303be414cd2e1f8f98f081500878c9b841ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 23 Jan 2004 01:10:46 +0000 Subject: [PATCH] Added a QueryServer() function for BMessage communication. Added MEDIA_SERVER_GET_FORMATS for the new BMediaFormats implementation. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6233 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/media/DataExchange.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/headers/private/media/DataExchange.h b/headers/private/media/DataExchange.h index 2c16067ea8..2c93f250fe 100644 --- a/headers/private/media/DataExchange.h +++ b/headers/private/media/DataExchange.h @@ -23,6 +23,7 @@ struct command_data; // BMessage based data exchange with the media_server status_t SendToServer(BMessage *msg); +status_t QueryServer(BMessage &request, BMessage &reply); // Raw data based data exchange with the media_server status_t SendToServer(int32 msgcode, command_data *msg, int size); @@ -64,12 +65,12 @@ using namespace BPrivate::media::dataexchange; // BMessage based server communication enum { - // BMediaRoster notification service MEDIA_SERVER_REQUEST_NOTIFICATIONS = 1000, MEDIA_SERVER_CANCEL_NOTIFICATIONS, - MEDIA_SERVER_SEND_NOTIFICATIONS + MEDIA_SERVER_SEND_NOTIFICATIONS, + MEDIA_SERVER_GET_FORMATS, }; // Raw port based communication