btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / apps / mediaplayer / support / Event.cpp
blobe20fc4dcde170991a31a56c1c329f6b01d9bb139
1 /*
2 * Copyright (c) 2000-2008, Ingo Weinhold <ingo_weinhold@gmx.de>,
3 * Copyright (c) 2000-2008, Stephan Aßmus <superstippi@gmx.de>,
4 * All Rights Reserved. Distributed under the terms of the MIT license.
5 */
6 #include <stdio.h>
8 #include "Event.h"
11 Event::Event(bool autoDelete)
12 : fTime(0),
13 fAutoDelete(autoDelete)
18 Event::Event(bigtime_t time, bool autoDelete)
19 : fTime(time),
20 fAutoDelete(autoDelete)
25 Event::~Event()
30 void
31 Event::SetTime(bigtime_t time)
33 fTime = time;
37 bigtime_t
38 Event::Time() const
40 return fTime;
44 void
45 Event::SetAutoDelete(bool autoDelete)
47 fAutoDelete = autoDelete;
51 void
52 Event::Execute()
54 printf("Event::Execute() - %" B_PRIdBIGTIME "\n", fTime);