View | Details | Raw Unified
Collapse All | Expand All

(-) src/FbDesk.cc.org (-2 / +4 lines)
 Lines 43-48    Link Here 
using namespace std;
using namespace std;
using namespace FbTk;
using namespace FbTk;
namespace FbTk {
template <>
template <>
void Resource<int>::setFromString(const char *str) {
void Resource<int>::setFromString(const char *str) {
    sscanf(str, "%d", &*(*this));
    sscanf(str, "%d", &*(*this));
 Lines 65-72    Link Here 
    return (*this)->c_str();
    return (*this)->c_str();
}
}
template <>
template <>
std::string Resource<FbDesk::Icon::TextPlacement>::getString() {
std::string Resource<FbDesk::Icon::TextPlacement>::getString() {
    switch (*(*this)) {
    switch (*(*this)) {
 Lines 97-102    Link Here 
        *(*this) = FbDesk::Icon::TEXTPLACE_BOTTOM;
        *(*this) = FbDesk::Icon::TEXTPLACE_BOTTOM;
}
}
}
namespace FbDesk {
namespace FbDesk {
FbDesk::FbDesk(const char *config_filename):
FbDesk::FbDesk(const char *config_filename):