12345678910111213141516171819 |
- #include "../include/Queue.h"
- namespace Queue {
- std::deque<std::string> queue;
- std::string fileName = "";
- ChannelControls *channel;
- } // namespace Queue
- bool Queue::push(const std::string &file) {
- queue.push_back(file);
- return true;
- }
- bool Queue::remove(const std::string &file) { return true; }
- void Queue::schedule() {}
- std::string Queue::curTransfer() { return fileName; }
|