kodi
ISortable.h
1 /*
2  * Copyright (C) 2012-2018 Team Kodi
3  * This file is part of Kodi - https://kodi.tv
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  * See LICENSES/README.md for more information.
7  */
8 
9 #pragma once
10 
11 #include "SortUtils.h"
12 
13 #include <map>
14 
15 class ISortable
16 {
17 protected:
18  /* make sure nobody deletes a pointer to this class */
19  ~ISortable() = default;
20 
21 public:
22  virtual void ToSortable(SortItem& sortable, Field field) const = 0;
23 };
Definition: ISortable.h:15