From 28bf04cc13b9de0991f1fd97d98faa3df36ae300 Mon Sep 17 00:00:00 2001 From: mathias Date: Wed, 16 Nov 2005 06:42:50 +0000 Subject: resolved minor for compiling under win32/cygwin, multiple symbols --- src/ScreenResources.cc | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/src/ScreenResources.cc b/src/ScreenResources.cc index 03514ad..d541ae7 100644 --- a/src/ScreenResources.cc +++ b/src/ScreenResources.cc @@ -41,7 +41,6 @@ void FbTk::Resource::setFromString(const char *str) { *(*this) = BScreen::CASCADEPLACEMENT; else setDefaultValue(); - } template <> @@ -129,8 +128,7 @@ void FbTk::Resource::setFromString(const char *str) { } template<> -std::string FbTk::Resource:: -getString() { +std::string FbTk::Resource::getString() { switch (m_value) { case BScreen::QUADRANTRESIZE: return std::string("Quadrant"); @@ -153,8 +151,7 @@ setFromString(char const *strval) { } template<> -std::string FbTk::Resource:: -getString() { +std::string FbTk::Resource::getString() { switch (m_value) { case BScreen::MOUSEFOCUS: return string("MouseFocus"); @@ -177,8 +174,7 @@ setFromString(char const *strval) { } template<> -std::string FbTk::Resource:: -getString() { +std::string FbTk::Resource::getString() { switch (m_value) { case BScreen::MOUSETABFOCUS: return string("SloppyTabFocus"); @@ -201,8 +197,7 @@ setFromString(char const *strval) { } template<> -std::string FbTk::Resource:: -getString() { +std::string FbTk::Resource::getString() { switch (m_value) { case BScreen::FOLLOW_ACTIVE_WINDOW: return std::string("Follow"); @@ -229,11 +224,6 @@ setFromString(char const *strval) { } template<> -void FbTk::Resource::setDefaultValue() { - *(*this) = FbTk::GContext::LINESOLID; -} - -template<> std::string FbTk::Resource::getString() { switch(m_value) { case FbTk::GContext::LINESOLID: @@ -264,11 +254,6 @@ void FbTk::Resource } template<> -void FbTk::Resource::setDefaultValue() { - *(*this) = FbTk::GContext::JOINMITER; -} - -template<> std::string FbTk::Resource::getString() { switch(m_value) { case FbTk::GContext::JOINMITER: -- cgit v0.11.2