1/* 2 * Copyright 2011-2016, Rene Gollent, rene@gollent.com. 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef TEAM_TYPE_INFORMATION_H 6#define TEAM_TYPE_INFORMATION_H 7 8 9#include <SupportDefs.h> 10 11 12class BString; 13class Type; 14class TypeLookupConstraints; 15 16 17class TeamTypeInformation { 18public: 19 virtual ~TeamTypeInformation(); 20 21 22 virtual status_t LookupTypeByName(const BString& name, 23 const TypeLookupConstraints& constraints, 24 Type*& _type) = 0; 25 // returns reference 26 27 virtual bool TypeExistsByName(const BString& name, 28 const TypeLookupConstraints& constraints) 29 = 0; 30}; 31 32 33#endif // TEAM_TYPE_INFORMATION_H 34