25 #ifndef AAMPCLIVIRTUALCHANNELMAP_H
26 #define AAMPCLIVIRTUALCHANNELMAP_H
32 #define VIRTUAL_CHANNEL_VALID(x) ((x) > 0)
33 #define MAX_BUFFER_LENGTH 4096
57 VirtualChannelMap() : mVirtualChannelMap(),mCurrentlyTunedChannel(0),mAutoChannelNumber(0) {}
60 mVirtualChannelMap.clear();
69 void setCurrentlyTunedChannel(
int value);
72 std::string getNextFieldFromCSV(
const char **pptr );
73 void loadVirtualChannelMapFromCSV( FILE *f );
75 const char *skipwhitespace(
const char *ptr );
78 std::list<VirtualChannelInfo> mVirtualChannelMap;
79 int mAutoChannelNumber;
80 int mCurrentlyTunedChannel;
83 #endif // AAMPCLIVIRTUALCHANNEL_H