38 #include "DeviceHost.h" 48 class MediaServerEventBridge;
57 delegate Int32 BrowseMetadataDelegate(
Action^ action, String^ object_id, String^ filter, Int32 starting_index, Int32 requested_count, String^ sort_criteria,
HttpRequestContext^ context);
58 delegate Int32 BrowseDirectChildrenDelegate(
Action^ action, String^ object_id, String^ filter, Int32 starting_index, Int32 requested_count, String^ sort_criteria,
HttpRequestContext^ context);
59 delegate Int32 SearchContainerDelegate(
Action^ action, String^ object_id, String^ searchCriteria, String^ filter, Int32 starting_index, Int32 requested_count, String^ sort_criteria,
HttpRequestContext^ context);
72 void RegisterEvents();
76 event BrowseMetadataDelegate^ BrowseMetadata;
77 event BrowseDirectChildrenDelegate^ BrowseDirectChildren;
78 event SearchContainerDelegate^ SearchContainer;
79 event ProcessFileRequestDelegate^ ProcessFileRequest;
84 Int32 OnBrowseMetadataDelegate(
Action^ action, String^ object_id, String^ filter, Int32 starting_index, Int32 requested_count, String^ sort_criteria,
HttpRequestContext^ context)
87 return this->BrowseMetadata(action, object_id, filter, starting_index, requested_count, sort_criteria, context);
90 Int32 OnBrowseDirectChildrenDelegate(
Action^ action, String^ object_id, String^ filter, Int32 starting_index, Int32 requested_count, String^ sort_criteria,
HttpRequestContext^ context)
93 return this->BrowseDirectChildren(action, object_id, filter, starting_index, requested_count, sort_criteria, context);
96 Int32 OnSearchContainerDelegate(
Action^ action, String^ object_id, String^ searchCriteria, String^ filter, Int32 starting_index, Int32 requested_count, String^ sort_criteria,
HttpRequestContext^ context)
99 return this->SearchContainer(action, object_id, searchCriteria, filter, starting_index, requested_count, sort_criteria, context);
104 return this->ProcessFileRequest(context, response);
113 void UpdateSystemUpdateID(Int32 update);
114 void UpdateContainerUpdateID(String^
id, Int32 update);
Definition: DeviceHost.h:43