-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInfiniteModel.h
More file actions
28 lines (23 loc) · 783 Bytes
/
InfiniteModel.h
File metadata and controls
28 lines (23 loc) · 783 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//
// InfiniteModel.h
// Scheduler
//
// Created by David Flores on 1/23/16.
// Copyright © 2016 David Flores. All rights reserved.
//
#ifndef InfiniteModel_h
#define InfiniteModel_h
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
class InfiniteModelIndex;
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
class InfiniteModel
{
public:
// InfiniteModel
virtual ~InfiniteModel() {};
virtual size_t GetColumnCount() = 0;
virtual InfiniteModelIndex* CreateInitialModelIndex() = 0;
virtual InfiniteModelIndex* CreateIndexBeforeIndex(const InfiniteModelIndex* pNextRowIndex) = 0;
virtual InfiniteModelIndex* CreateIndexAfterIndex(const InfiniteModelIndex* pPreviousRowIndex) = 0;
};
#endif // InfiniteModel_h