Renamed display::Manager to display::Layers.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@236 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2005-01-27 13:55:31 +00:00
parent 914c7c1aeb
commit f622f45f0b
4 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ noinst_LIBRARIES = libsub_display.a
libsub_display_a_SOURCES = \
canvas.cc \
canvas.h \
manager.cc \
manager.h
layers.cc \
layers.h
INCLUDES = -I$(srcdir) -I$(srcdir)/.. -I$(top_srcdir)
@@ -1,6 +1,6 @@
#include "config.h"
#include "manager.h"
#include "layers.h"
#include "canvas.h"
#include <functional>
@@ -9,7 +9,7 @@
namespace display {
void
Manager::do_update() {
Layers::do_update() {
std::for_each(rbegin(), rend(), std::mem_fun(&Canvas::refresh));
Canvas::do_update();
@@ -1,5 +1,5 @@
#ifndef RTORRENT_DISPLAY_MANAGER_H
#define RTORRENT_DISPLAY_MANAGER_H
#ifndef RTORRENT_DISPLAY_LAYERS_H
#define RTORRENT_DISPLAY_LAYERS_H
#include <list>
@@ -7,7 +7,7 @@ namespace display {
class Canvas;
class Manager : private std::list<Canvas*> {
class Layers : private std::list<Canvas*> {
public:
typedef std::list<Canvas*> Base;