BTRFS: Implement BTree::Path and change _Find.
[haiku.git] / src / apps / mediaconverter / MediaFileInfo.h
blob4f9541e511606c1238e8519b56cc37a6fd6bc6e5
1 /*
2 Copyright 2010, Haiku, Inc. All Rights Reserved.
3 This file may be used under the terms of the MIT License.
4 */
5 #ifndef MEDIA_FILE_INFO_H
6 #define MEDIA_FILE_INFO_H
9 #include <MediaFile.h>
10 #include <String.h>
13 struct MediaInfo {
14 BString format;
15 BString details;
19 struct MediaFileInfo {
20 MediaFileInfo(BMediaFile* file = NULL);
21 status_t LoadInfo(BMediaFile* file);
23 MediaInfo audio;
24 MediaInfo video;
25 BString duration;
26 bigtime_t useconds;
28 private:
29 void _Reset();
32 #endif // MEDIA_FILE_INFO_H