1/* 2 * Copyright 2011, Oliver Tappe <zooey@hirschkaefer.de> 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef _OBJECT_LIST_PRIVATE_H 6#define _OBJECT_LIST_PRIVATE_H 7 8 9#include <ObjectList.h> 10 11 12template<class T> 13class BObjectList<T>::Private { 14public: 15 Private(BObjectList<T>* objectList) 16 : 17 fObjectList(objectList) 18 { 19 } 20 21 BList* 22 AsBList() 23 { 24 return fObjectList; 25 } 26 27 const BList* 28 AsBList() const 29 { 30 return fObjectList; 31 } 32 33private: 34 BObjectList<T>* fObjectList; 35}; 36 37 38#endif // _OBJECT_LIST_PRIVATE_H 39