Move Callback and internal Models to the private_api namespace

This commit is contained in:
Olivier Goffart 2021-06-28 10:56:00 +02:00
parent 61d533812d
commit daff9e8e65
3 changed files with 7 additions and 7 deletions

View file

@ -427,6 +427,7 @@ private:
std::vector<private_api::ModelPeer> peers;
};
namespace private_api {
/// A Model backed by a std::array of constant size
template<int Count, typename ModelData>
class ArrayModel : public Model<ModelData>
@ -459,6 +460,7 @@ struct IntModel : Model<int>
int row_count() const override { return data; }
int row_data(int value) const override { return value; }
};
} // namespace pricate_api
/// A Model backed by a SharedVector
template<typename ModelData>