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
This commit is contained in:
parent
0a580bde18
commit
8b47303be4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user