resolved minor for compiling under win32/cygwin, multiple symbols

This commit is contained in:
mathias 2005-11-16 06:42:50 +00:00
parent 497ac82dc5
commit 28bf04cc13

View file

@ -41,7 +41,6 @@ void FbTk::Resource<BScreen::PlacementPolicy>::setFromString(const char *str) {
*(*this) = BScreen::CASCADEPLACEMENT; *(*this) = BScreen::CASCADEPLACEMENT;
else else
setDefaultValue(); setDefaultValue();
} }
template <> template <>
@ -129,8 +128,7 @@ void FbTk::Resource<FbTk::MenuTheme::MenuMode>::setFromString(const char *str) {
} }
template<> template<>
std::string FbTk::Resource<BScreen::ResizeModel>:: std::string FbTk::Resource<BScreen::ResizeModel>::getString() {
getString() {
switch (m_value) { switch (m_value) {
case BScreen::QUADRANTRESIZE: case BScreen::QUADRANTRESIZE:
return std::string("Quadrant"); return std::string("Quadrant");
@ -153,8 +151,7 @@ setFromString(char const *strval) {
} }
template<> template<>
std::string FbTk::Resource<BScreen::FocusModel>:: std::string FbTk::Resource<BScreen::FocusModel>::getString() {
getString() {
switch (m_value) { switch (m_value) {
case BScreen::MOUSEFOCUS: case BScreen::MOUSEFOCUS:
return string("MouseFocus"); return string("MouseFocus");
@ -177,8 +174,7 @@ setFromString(char const *strval) {
} }
template<> template<>
std::string FbTk::Resource<BScreen::TabFocusModel>:: std::string FbTk::Resource<BScreen::TabFocusModel>::getString() {
getString() {
switch (m_value) { switch (m_value) {
case BScreen::MOUSETABFOCUS: case BScreen::MOUSETABFOCUS:
return string("SloppyTabFocus"); return string("SloppyTabFocus");
@ -201,8 +197,7 @@ setFromString(char const *strval) {
} }
template<> template<>
std::string FbTk::Resource<BScreen::FollowModel>:: std::string FbTk::Resource<BScreen::FollowModel>::getString() {
getString() {
switch (m_value) { switch (m_value) {
case BScreen::FOLLOW_ACTIVE_WINDOW: case BScreen::FOLLOW_ACTIVE_WINDOW:
return std::string("Follow"); return std::string("Follow");
@ -228,11 +223,6 @@ setFromString(char const *strval) {
setDefaultValue(); setDefaultValue();
} }
template<>
void FbTk::Resource<FbTk::GContext::LineStyle>::setDefaultValue() {
*(*this) = FbTk::GContext::LINESOLID;
}
template<> template<>
std::string FbTk::Resource<FbTk::GContext::LineStyle>::getString() { std::string FbTk::Resource<FbTk::GContext::LineStyle>::getString() {
switch(m_value) { switch(m_value) {
@ -263,11 +253,6 @@ void FbTk::Resource<FbTk::GContext::LineStyle>
setDefaultValue(); setDefaultValue();
} }
template<>
void FbTk::Resource<FbTk::GContext::JoinStyle>::setDefaultValue() {
*(*this) = FbTk::GContext::JOINMITER;
}
template<> template<>
std::string FbTk::Resource<FbTk::GContext::JoinStyle>::getString() { std::string FbTk::Resource<FbTk::GContext::JoinStyle>::getString() {
switch(m_value) { switch(m_value) {