2 * This file is a part of BeOS USBVision driver project.
3 * Copyright (c) 2003 by Siarzuk Zharski <imker@gmx.li>
5 * This file may be used under the terms of the BSD License
8 #ifndef _TUNER_LOCALE_H_
9 #define _TUNER_LOCALE_H_
22 Channel(string
&str
, uint32 frequency
);
23 const string
&Name() const;
24 const uint32
Frequency();
27 typedef vector
<Channel
> Channels
;
28 typedef vector
<Channel
>::iterator ChannelsIterator
;
35 TunerLocale(BEntry
&entry
);
36 status_t
LoadLocale(const char *file
);
39 static status_t
LoadLocales(vector
<TunerLocale
*> &vector
);
40 static status_t
ReleaseLocales(vector
<TunerLocale
*> &vector
);
43 const Channel
&GetChannel(int idx
);
44 uint32
ChannelsCount();
47 typedef vector
<TunerLocale
*> Locales
;
48 typedef vector
<TunerLocale
*>::iterator LocalesIterator
;
52 #endif//_TUNER_LOCALE_H_