0024911: Avoid using virtual functions in NCollection classes
[occt.git] / src / Font / Font_NListOfSystemFont.hxx
CommitLineData
b311480e 1// Created on: 2009-01-20
2// Created by: Alexander A. BORODIN
973c2be1 3// Copyright (c) 2009-2014 OPEN CASCADE SAS
b311480e 4//
973c2be1 5// This file is part of Open CASCADE Technology software library.
b311480e 6//
d5f74e42 7// This library is free software; you can redistribute it and/or modify it under
8// the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 9// by the Free Software Foundation, with special exception defined in the file
10// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11// distribution for complete text of the license and disclaimer of any warranty.
b311480e 12//
973c2be1 13// Alternatively, this file may be used under the terms of Open CASCADE
14// commercial license or contractual agreement.
15
eeaaaefb 16#ifndef _Font_NListOfSystemFont_HeaderFile
17#define _Font_NListOfSystemFont_HeaderFile
ddf2fe8e 18
19#include <NCollection_List.hxx>
eeaaaefb 20#include <Font_SystemFont.hxx>
ddf2fe8e 21
22typedef NCollection_List<Handle(Font_SystemFont)> Font_NListOfSystemFont;
aff395a3 23
24inline Standard_Boolean IsEqual (const Handle(Font_SystemFont)& theFirstFont,
25 const Handle(Font_SystemFont)& theSecondFont)
26{
27 return theFirstFont->IsEqual (theSecondFont);
28}
97c4a2fa 29#endif