*Never* use 'using' in header file
authorU. Artie Eoff <ullysses.a.eoff@intel.com>
Thu, 21 Jun 2012 21:03:56 +0000 (14:03 -0700)
committerU. Artie Eoff <ullysses.a.eoff@intel.com>
Thu, 21 Jun 2012 21:03:56 +0000 (14:03 -0700)
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
src/efl/background.cpp
src/efl/background.h
src/efl/test_background.cpp

index 74a5488..514ac07 100644 (file)
@@ -1,5 +1,7 @@
 #include "background.h"
 
+using boost::filesystem::path;
+
 Background::Background(Evas_Object *parent)
        : EvasObject::EvasObject(
                elm_bg_add(parent)
index 133e08f..da5ae8b 100644 (file)
 #include <Elementary.h>
 #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:
index 85a23c8..1cd845f 100644 (file)
@@ -7,6 +7,8 @@
 #include "evasobject.h"
 #include "elmtestharness.h"
 
+using boost::filesystem::path;
+
 class BackgroundColorTest : public ElmTestHarness
 {
 public: