diff options
Diffstat (limited to 'mythfs/service/inodes')
-rw-r--r-- | mythfs/service/inodes/allDirectory.cpp | 2 | ||||
-rw-r--r-- | mythfs/service/inodes/allDirectory.h | 4 | ||||
-rw-r--r-- | mythfs/service/inodes/filterByDateDirectory.cpp | 2 | ||||
-rw-r--r-- | mythfs/service/inodes/filterByDateDirectory.h | 2 | ||||
-rw-r--r-- | mythfs/service/inodes/filterByTitleDirectory.cpp | 2 | ||||
-rw-r--r-- | mythfs/service/inodes/filterByTitleDirectory.h | 2 | ||||
-rw-r--r-- | mythfs/service/inodes/filteringDirectory.cpp | 2 | ||||
-rw-r--r-- | mythfs/service/inodes/filteringDirectory.h | 4 | ||||
-rw-r--r-- | mythfs/service/inodes/groupingByDateDirectory.cpp | 2 | ||||
-rw-r--r-- | mythfs/service/inodes/groupingByDateDirectory.h | 2 | ||||
-rw-r--r-- | mythfs/service/inodes/groupingByTitleDirectory.cpp | 2 | ||||
-rw-r--r-- | mythfs/service/inodes/groupingByTitleDirectory.h | 2 | ||||
-rw-r--r-- | mythfs/service/inodes/groupingDirectory.cpp | 2 | ||||
-rw-r--r-- | mythfs/service/inodes/groupingDirectory.h | 4 |
14 files changed, 17 insertions, 17 deletions
diff --git a/mythfs/service/inodes/allDirectory.cpp b/mythfs/service/inodes/allDirectory.cpp index d7745f6..d7278a3 100644 --- a/mythfs/service/inodes/allDirectory.cpp +++ b/mythfs/service/inodes/allDirectory.cpp @@ -4,7 +4,7 @@ #include <exceptions.h> namespace MythFS { - AllDirectory::AllDirectory(const DBPrx & d) : db(d) { } + AllDirectory::AllDirectory(const DBPtr & d) : db(d) { } NetFS::NameList AllDirectory::getContents() const diff --git a/mythfs/service/inodes/allDirectory.h b/mythfs/service/inodes/allDirectory.h index 67165ef..6486f77 100644 --- a/mythfs/service/inodes/allDirectory.h +++ b/mythfs/service/inodes/allDirectory.h @@ -7,14 +7,14 @@ namespace MythFS { class AllDirectory : public AbstractDynamicDirectory { public: - AllDirectory(const DBPrx &); + AllDirectory(const DBPtr &); protected: NetFS::NameList getContents() const override; PointerType getChild(const std::string &) const override; private: - DBPrx db; + DBPtr db; }; } diff --git a/mythfs/service/inodes/filterByDateDirectory.cpp b/mythfs/service/inodes/filterByDateDirectory.cpp index a8964c0..53298e9 100644 --- a/mythfs/service/inodes/filterByDateDirectory.cpp +++ b/mythfs/service/inodes/filterByDateDirectory.cpp @@ -5,7 +5,7 @@ #include <boost/algorithm/string/predicate.hpp> namespace MythFS { - FilterByDateDirectory::FilterByDateDirectory(DBPrx db, const std::string & d) : + FilterByDateDirectory::FilterByDateDirectory(DBPtr db, const std::string & d) : FilteringDirectory<std::string>(db), date(d) { diff --git a/mythfs/service/inodes/filterByDateDirectory.h b/mythfs/service/inodes/filterByDateDirectory.h index 84da471..16a9402 100644 --- a/mythfs/service/inodes/filterByDateDirectory.h +++ b/mythfs/service/inodes/filterByDateDirectory.h @@ -8,7 +8,7 @@ namespace MythFS { class FilterByDateDirectory : public FilteringDirectory<std::string> { public: - FilterByDateDirectory(DBPrx db, const std::string &); + FilterByDateDirectory(DBPtr db, const std::string &); protected: std::string attribute(const MythFS::RecordedPtr &) const; diff --git a/mythfs/service/inodes/filterByTitleDirectory.cpp b/mythfs/service/inodes/filterByTitleDirectory.cpp index d17999f..3d8f4bd 100644 --- a/mythfs/service/inodes/filterByTitleDirectory.cpp +++ b/mythfs/service/inodes/filterByTitleDirectory.cpp @@ -4,7 +4,7 @@ #include <exceptions.h> namespace MythFS { - FilterByTitleDirectory::FilterByTitleDirectory(DBPrx db, const std::string & t) : + FilterByTitleDirectory::FilterByTitleDirectory(DBPtr db, const std::string & t) : FilteringDirectory<std::string>(db), title(t) { diff --git a/mythfs/service/inodes/filterByTitleDirectory.h b/mythfs/service/inodes/filterByTitleDirectory.h index 31c35fa..dda090b 100644 --- a/mythfs/service/inodes/filterByTitleDirectory.h +++ b/mythfs/service/inodes/filterByTitleDirectory.h @@ -8,7 +8,7 @@ namespace MythFS { class FilterByTitleDirectory : public FilteringDirectory<std::string> { public: - FilterByTitleDirectory(DBPrx db, const std::string &); + FilterByTitleDirectory(DBPtr db, const std::string &); protected: std::string attribute(const MythFS::RecordedPtr &) const; diff --git a/mythfs/service/inodes/filteringDirectory.cpp b/mythfs/service/inodes/filteringDirectory.cpp index efac165..2a6743b 100644 --- a/mythfs/service/inodes/filteringDirectory.cpp +++ b/mythfs/service/inodes/filteringDirectory.cpp @@ -3,7 +3,7 @@ namespace MythFS { template<typename T> - FilteringDirectory<T>::FilteringDirectory(DBPrx d) : + FilteringDirectory<T>::FilteringDirectory(DBPtr d) : db(d) { } diff --git a/mythfs/service/inodes/filteringDirectory.h b/mythfs/service/inodes/filteringDirectory.h index 3f6fc68..9343544 100644 --- a/mythfs/service/inodes/filteringDirectory.h +++ b/mythfs/service/inodes/filteringDirectory.h @@ -9,14 +9,14 @@ namespace MythFS { template <typename T> class FilteringDirectory : public AbstractDynamicDirectory { public: - FilteringDirectory(DBPrx db); + FilteringDirectory(DBPtr db); protected: virtual bool matches(const MythFS::RecordedPtr &) const = 0; virtual T attribute(const MythFS::RecordedPtr &) const = 0; NetFS::NameList getContents() const override; - DBPrx db; + DBPtr db; }; } diff --git a/mythfs/service/inodes/groupingByDateDirectory.cpp b/mythfs/service/inodes/groupingByDateDirectory.cpp index 1ab83a2..6aa842e 100644 --- a/mythfs/service/inodes/groupingByDateDirectory.cpp +++ b/mythfs/service/inodes/groupingByDateDirectory.cpp @@ -4,7 +4,7 @@ #include <exceptions.h> namespace MythFS { - ByDateDirectory::ByDateDirectory(DBPrx db) : + ByDateDirectory::ByDateDirectory(DBPtr db) : GroupingDirectory<std::string>(db) { } diff --git a/mythfs/service/inodes/groupingByDateDirectory.h b/mythfs/service/inodes/groupingByDateDirectory.h index 1fef9e5..587ab16 100644 --- a/mythfs/service/inodes/groupingByDateDirectory.h +++ b/mythfs/service/inodes/groupingByDateDirectory.h @@ -6,7 +6,7 @@ namespace MythFS { class ByDateDirectory : public GroupingDirectory<std::string> { public: - ByDateDirectory(DBPrx db); + ByDateDirectory(DBPtr db); protected: std::string attribute(const MythFS::RecordedPtr &) const override; diff --git a/mythfs/service/inodes/groupingByTitleDirectory.cpp b/mythfs/service/inodes/groupingByTitleDirectory.cpp index e215e55..a87687c 100644 --- a/mythfs/service/inodes/groupingByTitleDirectory.cpp +++ b/mythfs/service/inodes/groupingByTitleDirectory.cpp @@ -4,7 +4,7 @@ #include <exceptions.h> namespace MythFS { - ByTitleDirectory::ByTitleDirectory(DBPrx db) : + ByTitleDirectory::ByTitleDirectory(DBPtr db) : GroupingDirectory<std::string>(db) { } diff --git a/mythfs/service/inodes/groupingByTitleDirectory.h b/mythfs/service/inodes/groupingByTitleDirectory.h index 2d88b80..94425d2 100644 --- a/mythfs/service/inodes/groupingByTitleDirectory.h +++ b/mythfs/service/inodes/groupingByTitleDirectory.h @@ -6,7 +6,7 @@ namespace MythFS { class ByTitleDirectory : public GroupingDirectory<std::string> { public: - ByTitleDirectory(DBPrx db); + ByTitleDirectory(DBPtr db); protected: std::string attribute(const MythFS::RecordedPtr &) const override; diff --git a/mythfs/service/inodes/groupingDirectory.cpp b/mythfs/service/inodes/groupingDirectory.cpp index 30e71d8..bb45b68 100644 --- a/mythfs/service/inodes/groupingDirectory.cpp +++ b/mythfs/service/inodes/groupingDirectory.cpp @@ -3,7 +3,7 @@ namespace MythFS { template<typename T> - GroupingDirectory<T>::GroupingDirectory(DBPrx d) : db(d) { } + GroupingDirectory<T>::GroupingDirectory(DBPtr d) : db(d) { } template<typename T> NetFS::NameList diff --git a/mythfs/service/inodes/groupingDirectory.h b/mythfs/service/inodes/groupingDirectory.h index 5e587ac..a9ae3c6 100644 --- a/mythfs/service/inodes/groupingDirectory.h +++ b/mythfs/service/inodes/groupingDirectory.h @@ -9,13 +9,13 @@ namespace MythFS { template <typename T> class GroupingDirectory : public AbstractDynamicDirectory { public: - GroupingDirectory(DBPrx db); + GroupingDirectory(DBPtr db); protected: virtual T attribute(const MythFS::RecordedPtr &) const = 0; NetFS::NameList getContents() const override; - DBPrx db; + DBPtr db; }; } |