From 1c39e66f571fb9767257740ee74889ce0eb78993 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Thu, 22 Mar 2012 17:04:10 +0100 Subject: menu/frame: added log --- src/menu/frame.cpp | 3 +++ src/menu/frame.hpp | 2 ++ 2 files changed, 5 insertions(+) (limited to 'src') diff --git a/src/menu/frame.cpp b/src/menu/frame.cpp index ed34b5f9..d3695392 100644 --- a/src/menu/frame.cpp +++ b/src/menu/frame.cpp @@ -28,6 +28,9 @@ namespace usdx { + log4cpp::Category& Frame::log = + log4cpp::Category::getInstance("usdx.menu.frame"); + Frame::Frame(Container* parent) : Container(parent), background(NULL) { diff --git a/src/menu/frame.hpp b/src/menu/frame.hpp index 7a43d59b..6a2b0892 100644 --- a/src/menu/frame.hpp +++ b/src/menu/frame.hpp @@ -28,6 +28,7 @@ #define FRAME_HPP #include +#include #include "container.hpp" #include "frame_background.hpp" @@ -37,6 +38,7 @@ namespace usdx class Frame : public Container { private: + static log4cpp::Category& log; FrameBackground* background; protected: -- cgit v1.2.3