aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/menu/container.cpp3
-rw-r--r--src/menu/container.hpp4
2 files changed, 7 insertions, 0 deletions
diff --git a/src/menu/container.cpp b/src/menu/container.cpp
index d39ac736..a5519f0d 100644
--- a/src/menu/container.cpp
+++ b/src/menu/container.cpp
@@ -28,6 +28,9 @@
namespace usdx
{
+ log4cpp::Category& Container::log =
+ log4cpp::Category::getInstance("usdx.menu.container");
+
Container::Container(Container* owner)
: DrawableControl(owner)
{
diff --git a/src/menu/container.hpp b/src/menu/container.hpp
index c8f0351b..ce12ce39 100644
--- a/src/menu/container.hpp
+++ b/src/menu/container.hpp
@@ -28,6 +28,8 @@
#define CONTAINER_HPP
#include <list>
+#include <log4cpp/Category.hh>
+
#include "drawable_control.hpp"
namespace usdx
@@ -35,6 +37,8 @@ namespace usdx
class Container : public DrawableControl
{
private:
+ static log4cpp::Category& log;
+
std::list<DrawableControl*> controls;
protected: