Subversion Repositories tpanel

Rev

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

Rev 446 Rev 486
Line 1... Line 1...
1
/*
1
/*
2
 * Copyright (C) 2020 to 2022 by Andreas Theofilu <andreas@theosys.at>
2
 * Copyright (C) 2020 to 2025 by Andreas Theofilu <andreas@theosys.at>
3
 *
3
 *
4
 * This program is free software; you can redistribute it and/or modify
4
 * This program is free software; you can redistribute it and/or modify
5
 * it under the terms of the GNU General Public License as published by
5
 * it under the terms of the GNU General Public License as published by
6
 * the Free Software Foundation; either version 3 of the License, or
6
 * the Free Software Foundation; either version 3 of the License, or
7
 * (at your option) any later version.
7
 * (at your option) any later version.
Line 67... Line 67...
67
        std::vector<std::string> findSounds();
67
        std::vector<std::string> findSounds();
68
        bool soundExist(const std::string& sname);
68
        bool soundExist(const std::string& sname);
69
        void registerCommand(std::function<void (int port, std::vector<int>& channels, std::vector<std::string>& pars)> command, const std::string& name);
69
        void registerCommand(std::function<void (int port, std::vector<int>& channels, std::vector<std::string>& pars)> command, const std::string& name);
70
 
70
 
71
    protected:
71
    protected:
72
        bool readMap();
72
        bool readMap(bool tp5=false);
73
 
73
 
74
    private:
74
    private:
75
        bool extractChannels(const std::string& schan, std::vector<int> *ch);
75
        bool extractChannels(const std::string& schan, std::vector<int> *ch);
76
        std::vector<std::string> getFields(std::string& msg, char sep);
76
        std::vector<std::string> getFields(std::string& msg, char sep);
77
 
77