Subversion Repositories tpanel

Rev

Rev 21 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 21 Rev 97
Line 111... Line 111...
111
 
111
 
112
        void setPChain(PCHAIN_T *ch) { mPChain = ch; }
112
        void setPChain(PCHAIN_T *ch) { mPChain = ch; }
113
        void setSPChain(SPCHAIN_T *ch) { mSPChain = ch; }
113
        void setSPChain(SPCHAIN_T *ch) { mSPChain = ch; }
114
        bool parseCommand(int device, int port, const std::string& cmd);
114
        bool parseCommand(int device, int port, const std::string& cmd);
115
        std::vector<MAP_T> findButtons(int port, std::vector<int>& channels, MAP_TYPE mt = TYPE_AM);
115
        std::vector<MAP_T> findButtons(int port, std::vector<int>& channels, MAP_TYPE mt = TYPE_AM);
-
 
116
        std::vector<MAP_T> findButtonByName(const std::string& name);
116
        std::vector<MAP_T> findBargraphs(int port, std::vector<int>& channels);
117
        std::vector<MAP_T> findBargraphs(int port, std::vector<int>& channels);
117
        void registerCommand(std::function<void (int port, std::vector<int>& channels, std::vector<std::string>& pars)> command, const std::string& name);
118
        void registerCommand(std::function<void (int port, std::vector<int>& channels, std::vector<std::string>& pars)> command, const std::string& name);
118
 
119
 
119
    protected:
120
    protected:
120
        bool readMap();
121
        bool readMap();