Subversion Repositories tpanel

Rev

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

Rev 107 Rev 118
Line 114... Line 114...
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> findButtonByName(const std::string& name);
117
        std::vector<MAP_T> findBargraphs(int port, std::vector<int>& channels);
117
        std::vector<MAP_T> findBargraphs(int port, std::vector<int>& channels);
118
        std::vector<std::string> findSounds();
118
        std::vector<std::string> findSounds();
119
        bool soundExist(const std::string sname);
119
        bool soundExist(const std::string& sname);
120
        void registerCommand(std::function<void (int port, std::vector<int>& channels, std::vector<std::string>& pars)> command, const std::string& name);
120
        void registerCommand(std::function<void (int port, std::vector<int>& channels, std::vector<std::string>& pars)> command, const std::string& name);
121
 
121
 
122
    protected:
122
    protected:
123
        bool readMap();
123
        bool readMap();
124
 
124