BTRFS: Implement BTree::Path and change _Find.
[haiku.git] / src / add-ons / media / media-add-ons / videowindow / VideoAddOn.h
blobc1df3e0511777ef260d9017a849177593398ec78
1 /*
2 * Copyright (C) 2006-2008 Marcus Overhagen <marcus@overhagen.de>. All rights reserved.
3 * Copyright (C) 2008 Maurice Kalinowski <haiku@kaldience.com>. All rights reserved.
5 * Distributed under the terms of the MIT License.
6 */
7 #ifndef __VIDEO_ADD_ON_H
8 #define __VIDEO_ADD_ON_H
11 #include <MediaAddOn.h>
14 class VideoWindowAddOn : public BMediaAddOn
16 public:
17 VideoWindowAddOn(image_id);
18 ~VideoWindowAddOn();
20 bool WantsAutoStart();
21 int32 CountFlavors();
22 status_t GetFlavorAt(int32, const flavor_info**);
23 BMediaNode* InstantiateNodeFor(const flavor_info*, BMessage*, status_t*);
25 private:
26 flavor_info fInfo;
27 media_format fInputFormat;
30 extern "C" BMediaAddOn *make_media_addon(image_id id);
32 #endif