Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

channeldb.h

Go to the documentation of this file.
00001 #ifndef CHANNELDB_H
00002 #define CHANNELDB_H
00003 
00004 #include "arraylist.h"
00005 #include "channel.inc"
00006 
00007 class ChannelDB
00008 {
00009 public:
00010         ChannelDB();
00011         ~ChannelDB();
00012         
00013         void load(char *prefix);
00014         void save(char *prefix);
00015         void copy_from(ChannelDB *src);
00016         void clear();
00017         Channel* get(int number);
00018         int size();
00019         void append(Channel *channel);
00020         void remove_number(int number);
00021         void set(int number, Channel *ptr);
00022 
00023         char* prefix_to_path(char *path, char *prefix);
00024 
00025         ArrayList<Channel*> channels;
00026 };
00027 
00028 
00029 
00030 #endif

Generated on Sun Jan 8 13:38:51 2006 for Cinelerra-svn by  doxygen 1.4.4