add_integer: remove callback parameter
[vlc/asuraparaju-public.git] / modules / video_filter / atmo / AtmoChannelAssignment.h
blob5996763421b784f5f417fb253dd693c758a476af
1 #ifndef _AtmoChannelAssignment_
2 #define _AtmoChannelAssignment_
4 #include "AtmoDefs.h"
6 class CAtmoChannelAssignment
8 protected:
9 // name of the mapping (for menus and lists)
10 char *m_psz_name;
11 // count of channels starting with 0 ... X for which a mapping exists!
12 int m_num_channels;
13 // array were each destination channel - has an index to the source zone to use
14 // or -1 to show black output on this channel
15 int *m_mappings;
17 public:
18 CAtmoChannelAssignment(void);
19 CAtmoChannelAssignment(CAtmoChannelAssignment &source);
20 ~CAtmoChannelAssignment(void);
22 public:
23 // internal used to mark a not modifyable definition
24 // with a default assignment!
25 ATMO_BOOL system;
26 char *getName() { return(m_psz_name); }
27 void setName(const char *pszNewName);
29 void setSize(int numChannels);
30 int getSize() { return m_num_channels; }
31 int *getMapArrayClone(int &count);
32 int getZoneIndex(int channel);
33 void setZoneIndex(int channel, int zone);
36 #endif