forked from mia/Aegisub
Switch all uses of std::list for signal connections to std::deque
This commit is contained in:
parent
df4fffede5
commit
eca70285f1
4 changed files with 8 additions and 10 deletions
|
@ -34,7 +34,7 @@
|
|||
///
|
||||
|
||||
#ifndef AGI_PRE
|
||||
#include <list>
|
||||
#include <deque>
|
||||
#include <map>
|
||||
#include <cstdint>
|
||||
|
||||
|
@ -103,7 +103,7 @@ public:
|
|||
class AudioDisplay: public wxWindow {
|
||||
agi::signal::Connection audio_open_connection;
|
||||
|
||||
std::list<agi::signal::Connection> connections;
|
||||
std::deque<agi::signal::Connection> connections;
|
||||
agi::Context *context;
|
||||
|
||||
/// The audio renderer manager
|
||||
|
|
|
@ -32,12 +32,10 @@
|
|||
/// @ingroup scripting
|
||||
///
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
#ifndef AGI_PRE
|
||||
#include <list>
|
||||
#include <deque>
|
||||
#include <vector>
|
||||
|
||||
#include <wx/dialog.h>
|
||||
|
@ -232,7 +230,7 @@ namespace Automation4 {
|
|||
|
||||
/// Manager for scripts specified by a subtitle file
|
||||
class LocalScriptManager : public ScriptManager {
|
||||
std::list<agi::signal::Connection> slots;
|
||||
std::deque<agi::signal::Connection> slots;
|
||||
agi::Context *context;
|
||||
|
||||
void OnSubtitlesSave();
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
///
|
||||
|
||||
#ifndef AGI_PRE
|
||||
#include <list>
|
||||
#include <deque>
|
||||
|
||||
#include <wx/panel.h>
|
||||
#endif
|
||||
|
@ -48,7 +48,7 @@ class wxTextCtrl;
|
|||
/// @class VideoBox
|
||||
/// @brief The box containing the video display and associated controls
|
||||
class VideoBox : public wxPanel {
|
||||
std::list<agi::signal::Connection> slots;
|
||||
std::deque<agi::signal::Connection> slots;
|
||||
agi::Context *context; ///< Project context
|
||||
wxTextCtrl *VideoPosition; ///< Current frame/time
|
||||
wxTextCtrl *VideoSubsPos; ///< Time relative to the active subtitle line
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
|
||||
#ifndef AGI_PRE
|
||||
#include <list>
|
||||
#include <deque>
|
||||
#include <memory>
|
||||
|
||||
#include <wx/glcanvas.h>
|
||||
|
@ -66,7 +66,7 @@ namespace agi {
|
|||
/// @brief DOCME
|
||||
class VideoDisplay : public wxGLCanvas {
|
||||
/// Signals the display is connected to
|
||||
std::list<agi::signal::Connection> slots;
|
||||
std::deque<agi::signal::Connection> slots;
|
||||
|
||||
const agi::OptionValue* autohideTools;
|
||||
|
||||
|
|
Loading…
Reference in a new issue