aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Resource.hh
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-06-12 18:24:14 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-06-15 23:12:53 (GMT)
commit0271b1421c8caf9eb929a64e073fa3f57f697ed9 (patch)
treedc8ac9b58fc962da455cf5db520f7c3fbfdd0e3b /src/FbTk/Resource.hh
parent2ab8a36685b20d830be53454a2a2375a370ae8aa (diff)
downloadfluxbox_pavel-0271b1421c8caf9eb929a64e073fa3f57f697ed9.zip
fluxbox_pavel-0271b1421c8caf9eb929a64e073fa3f57f697ed9.tar.bz2
Add a function for converting from XResources to lua ones
Diffstat (limited to 'src/FbTk/Resource.hh')
-rw-r--r--src/FbTk/Resource.hh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/FbTk/Resource.hh b/src/FbTk/Resource.hh
index 744178b..00f8769 100644
--- a/src/FbTk/Resource.hh
+++ b/src/FbTk/Resource.hh
@@ -123,6 +123,10 @@ public:
123 template <typename ResourceType, typename Traits> 123 template <typename ResourceType, typename Traits>
124 Resource<ResourceType, Traits> &getResource(const std::string &resource); 124 Resource<ResourceType, Traits> &getResource(const std::string &resource);
125 125
126 const std::string &root() const { return m_root; }
127 ResourceList::const_iterator begin() { return m_resourcelist.begin(); }
128 ResourceList::const_iterator end() { return m_resourcelist.end(); }
129
126protected: 130protected:
127 ResourceList m_resourcelist; 131 ResourceList m_resourcelist;
128 const std::string m_root; 132 const std::string m_root;