From 1cf69cfa904298390bbe7185275a3a7192929dd5 Mon Sep 17 00:00:00 2001 From: "U. Artie Eoff" Date: Thu, 21 Jun 2012 14:03:56 -0700 Subject: [PATCH] *Never* use 'using' in header file Signed-off-by: U. Artie Eoff --- src/efl/background.cpp | 2 ++ src/efl/background.h | 6 ++---- src/efl/test_background.cpp | 2 ++ 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/efl/background.cpp b/src/efl/background.cpp index 74a5488..514ac07 100644 --- a/src/efl/background.cpp +++ b/src/efl/background.cpp @@ -1,5 +1,7 @@ #include "background.h" +using boost::filesystem::path; + Background::Background(Evas_Object *parent) : EvasObject::EvasObject( elm_bg_add(parent) diff --git a/src/efl/background.h b/src/efl/background.h index 133e08f..da5ae8b 100644 --- a/src/efl/background.h +++ b/src/efl/background.h @@ -10,19 +10,17 @@ #include #include "evasobject.h" -using boost::filesystem::path; - class Background : public EvasObject { public: Background(Evas_Object *parent); void setColor(int, int, int); - void setImage(const path&); + void setImage(const boost::filesystem::path&); void setImageOpt(Elm_Bg_Option); void getColor(int*, int*, int*); - void getImage(path&); + void getImage(boost::filesystem::path&); Elm_Bg_Option getImageOpt(); private: diff --git a/src/efl/test_background.cpp b/src/efl/test_background.cpp index 85a23c8..1cd845f 100644 --- a/src/efl/test_background.cpp +++ b/src/efl/test_background.cpp @@ -7,6 +7,8 @@ #include "evasobject.h" #include "elmtestharness.h" +using boost::filesystem::path; + class BackgroundColorTest : public ElmTestHarness { public: -- 2.7.4