diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2006-08-27 06:12:02 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2006-08-27 06:12:02 +0000 |
commit | fe5f8ba1c3639a6c5e6d19bb263d202b28b13cc7 (patch) | |
tree | d3e0c3bf2aca2f4938b8ac19e3f84decf70ca977 /x11-misc/fbdesk/files | |
parent | clean out older, non-modX ebuild (diff) | |
download | gentoo-2-fe5f8ba1c3639a6c5e6d19bb263d202b28b13cc7.tar.gz gentoo-2-fe5f8ba1c3639a6c5e6d19bb263d202b28b13cc7.tar.bz2 gentoo-2-fe5f8ba1c3639a6c5e6d19bb263d202b28b13cc7.zip |
clean out older, non-modX ebuild
(Portage version: 2.1.1_rc1)
(Unsigned Manifest commit)
Diffstat (limited to 'x11-misc/fbdesk/files')
-rw-r--r-- | x11-misc/fbdesk/files/digest-fbdesk-1.1.5 | 1 | ||||
-rw-r--r-- | x11-misc/fbdesk/files/fbdesk-1.1.5-gcc34.patch | 83 |
2 files changed, 0 insertions, 84 deletions
diff --git a/x11-misc/fbdesk/files/digest-fbdesk-1.1.5 b/x11-misc/fbdesk/files/digest-fbdesk-1.1.5 deleted file mode 100644 index 2bbdead5d6c6..000000000000 --- a/x11-misc/fbdesk/files/digest-fbdesk-1.1.5 +++ /dev/null @@ -1 +0,0 @@ -MD5 c41319c9a2a03cf4d7d5e0586e57cba6 fbdesk-1.1.5.tar.gz 253057 diff --git a/x11-misc/fbdesk/files/fbdesk-1.1.5-gcc34.patch b/x11-misc/fbdesk/files/fbdesk-1.1.5-gcc34.patch deleted file mode 100644 index b2b6e314859a..000000000000 --- a/x11-misc/fbdesk/files/fbdesk-1.1.5-gcc34.patch +++ /dev/null @@ -1,83 +0,0 @@ -diff -Naur fbdesk-1.1.5.orig/src/Resource.hh fbdesk-1.1.5/src/Resource.hh ---- fbdesk-1.1.5.orig/src/Resource.hh 2003-01-14 22:45:53.000000000 +0100 -+++ fbdesk-1.1.5/src/Resource.hh 2004-07-17 11:31:57.000000000 +0200 -@@ -56,40 +56,8 @@ - std::string m_altname; ///< alternative name - }; - --class ResourceManager; -- --/** -- Real resource class --*/ - template <typename T> --class Resource:public Resource_base --{ --public: -- Resource(ResourceManager &rm, T val, -- const std::string &name, const std::string &altname): -- Resource_base(name, altname), -- m_value(val), m_defaultval(val), -- m_rm(rm) -- { -- m_rm.addResource(*this); // add this to resource handler -- } -- virtual ~Resource() { -- m_rm.removeResource(*this); // remove this from resource handler -- } -- -- inline void setDefaultValue() { m_value = m_defaultval; } -- void setFromString(const char *strval); -- inline Resource<T>& operator = (const T& newvalue) { m_value = newvalue; return *this;} -- -- std::string getString(); -- inline T& operator*() { return m_value; } -- inline const T& operator*() const { return m_value; } -- inline T *operator->() { return &m_value; } -- inline const T *operator->() const { return &m_value; } --private: -- T m_value, m_defaultval; -- ResourceManager &m_rm; --}; -+class Resource; - - class ResourceManager - { -@@ -129,4 +97,37 @@ - ResourceList m_resourcelist; - }; - -+/** -+ Real resource class -+*/ -+template <typename T> -+class Resource:public Resource_base -+{ -+public: -+ Resource(ResourceManager &rm, T val, -+ const std::string &name, const std::string &altname): -+ Resource_base(name, altname), -+ m_value(val), m_defaultval(val), -+ m_rm(rm) -+ { -+ m_rm.addResource(*this); // add this to resource handler -+ } -+ virtual ~Resource() { -+ m_rm.removeResource(*this); // remove this from resource handler -+ } -+ -+ inline void setDefaultValue() { m_value = m_defaultval; } -+ void setFromString(const char *strval); -+ inline Resource<T>& operator = (const T& newvalue) { m_value = newvalue; return *this;} -+ -+ std::string getString(); -+ inline T& operator*() { return m_value; } -+ inline const T& operator*() const { return m_value; } -+ inline T *operator->() { return &m_value; } -+ inline const T *operator->() const { return &m_value; } -+private: -+ T m_value, m_defaultval; -+ ResourceManager &m_rm; -+}; -+ - #endif //_RESOURCE_HH_ |