00001
00002 #ifndef _INPUTGROUPMAP_H_
00003 #define _INPUTGROUPMAP_H_
00004
00005
00006 #include <vector>
00007 using namespace std;
00008
00009
00010 #include <qmap.h>
00011
00012
00013 #include "mythexp.h"
00014
00015 typedef vector<uint> InputGroupList;
00016
00017 class MPUBLIC InputGroupMap
00018 {
00019 public:
00020 InputGroupMap() { Build(); }
00021
00022 bool Build(void);
00023 uint GetSharedInputGroup(uint input1, uint input2) const;
00024
00025 private:
00026 QMap<uint, InputGroupList> inputgroupmap;
00027 };
00028
00029 #endif // _INPUTGROUPMAP_H_