comparison Framework/Loaders/IFetchingItemsSorter.h @ 757:f7c236894c1a

cont
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 22 May 2019 17:05:14 +0200
parents 51976977d2d3
children 2d8ab34c8c91
comparison
equal deleted inserted replaced
749:f3a7092ed10e 757:f7c236894c1a
27 namespace OrthancStone 27 namespace OrthancStone
28 { 28 {
29 class IFetchingItemsSorter : public boost::noncopyable 29 class IFetchingItemsSorter : public boost::noncopyable
30 { 30 {
31 public: 31 public:
32 class IFactory : public boost::noncopyable
33 {
34 public:
35 virtual ~IFactory()
36 {
37 }
38
39 virtual IFetchingItemsSorter* CreateSorter(unsigned int itemsCount) const = 0;
40 };
41
32 virtual ~IFetchingItemsSorter() 42 virtual ~IFetchingItemsSorter()
33 { 43 {
34 } 44 }
35 45
36 virtual unsigned int GetItemsCount() const = 0; 46 virtual unsigned int GetItemsCount() const = 0;