Merge branch 'ct' of git.pipapo.org:cinelerra-ct into ct
[cinelerra_cv/ct.git] / cinelerra / channeldb.h
blob592b366bfad8d1f871496f44baf2da2160b278ad
1 #ifndef CHANNELDB_H
2 #define CHANNELDB_H
4 #include "arraylist.h"
5 #include "channel.inc"
7 class ChannelDB
9 public:
10 ChannelDB();
11 ~ChannelDB();
13 void load(char *prefix);
14 void save(char *prefix);
15 void copy_from(ChannelDB *src);
16 void clear();
17 Channel* get(int number);
18 int size();
19 void append(Channel *channel);
20 void remove_number(int number);
21 void set(int number, Channel *ptr);
23 char* prefix_to_path(char *path, char *prefix);
25 ArrayList<Channel*> channels;
30 #endif
32 // Local Variables:
33 // mode: C++
34 // c-file-style: "linux"
35 // End: