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