2 * Copyright 2002 Marcus Overhagen. All Rights Reserved.
3 * This file may be used under the terms of the MIT License.
5 #ifndef TIME_SOURCE_OBJECT_H
6 #define TIME_SOURCE_OBJECT_H
9 #include <TimeSource.h>
11 #include <MediaMisc.h>
18 class TimeSourceObject
: public BTimeSource
{
20 TimeSourceObject(const media_node
& node
);
23 virtual status_t
TimeSourceOp(const time_source_op_info
& op
,
26 virtual BMediaAddOn
* AddOn(int32
* _id
) const;
28 // override from BMediaNode
29 virtual status_t
DeleteHook(BMediaNode
* node
);
34 } // namespace BPrivate
37 using namespace BPrivate::media
;
40 #endif // TIME_SOURCE_OBJECT_H