summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-11-21 23:30:36 +0000
committerCarl Hetherington <cth@carlh.net>2012-11-27 00:12:11 +0000
commit524e8a3b57652195f78d8bfd1c13233a8ed7b669 (patch)
tree65d04a4ab9ad25e9665732b9d43e37e5f3eb6fe1 /src/lib
parent50b2a3b1e633ea465802601b8ac992a6159f77cf (diff)
Remove unused Config::Changed signal.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/config.cc2
-rw-r--r--src/lib/config.h15
2 files changed, 0 insertions, 17 deletions
diff --git a/src/lib/config.cc b/src/lib/config.cc
index 50b5ae941..7c52dc170 100644
--- a/src/lib/config.cc
+++ b/src/lib/config.cc
@@ -96,8 +96,6 @@ Config::Config ()
_sound_processor = SoundProcessor::from_id (v);
}
}
-
- Changed ();
}
/** @return Filename to write configuration to */
diff --git a/src/lib/config.h b/src/lib/config.h
index 59af8a07a..c57e6b953 100644
--- a/src/lib/config.h
+++ b/src/lib/config.h
@@ -114,81 +114,66 @@ public:
/** @param n New number of local encoding threads */
void set_num_local_encoding_threads (int n) {
_num_local_encoding_threads = n;
- Changed ();
}
void set_default_directory (std::string d) {
_default_directory = d;
- Changed ();
}
/** @param p New server port */
void set_server_port (int p) {
_server_port = p;
- Changed ();
}
/** @param i New colour LUT index */
void set_colour_lut_index (int i) {
_colour_lut_index = i;
- Changed ();
}
/** @param b New J2K bandwidth */
void set_j2k_bandwidth (int b) {
_j2k_bandwidth = b;
- Changed ();
}
/** @param s New list of servers */
void set_servers (std::vector<ServerDescription*> s) {
_servers = s;
- Changed ();
}
void set_screens (std::vector<boost::shared_ptr<Screen> > s) {
_screens = s;
- Changed ();
}
void set_reference_scaler (Scaler const * s) {
_reference_scaler = s;
- Changed ();
}
void set_reference_filters (std::vector<Filter const *> const & f) {
_reference_filters = f;
- Changed ();
}
/** @param i IP address of a TMS that we can copy DCPs to */
void set_tms_ip (std::string i) {
_tms_ip = i;
- Changed ();
}
/** @param p Path on a TMS that we should write DCPs to */
void set_tms_path (std::string p) {
_tms_path = p;
- Changed ();
}
/** @param u User name to log into the TMS with */
void set_tms_user (std::string u) {
_tms_user = u;
- Changed ();
}
/** @param p Password to log into the TMS with */
void set_tms_password (std::string p) {
_tms_password = p;
- Changed ();
}
void write () const;
- boost::signals2::signal<void()> Changed;
-
static Config* instance ();
private: