1 /* 2 * Copyright (C) 2006, 2009, 2011 Apple Inc. All rights reserved. 3 * 4 * This library is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU Library General Public 6 * License as published by the Free Software Foundation; either 7 * version 2 of the License, or (at your option) any later version. 8 * 9 * This library is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * Library General Public License for more details. 13 * 14 * You should have received a copy of the GNU Library General Public License 15 * along with this library; see the file COPYING.LIB. If not, write to 16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 * Boston, MA 02110-1301, USA. 18 * 19 */ 20 21 #ifndef WTF_Forward_h 22 #define WTF_Forward_h 23 24 #include <stddef.h> 25 26 namespace WTF { 27 template<typename T> class ListRefPtr; 28 template<typename T> class OwnArrayPtr; 29 template<typename T> class OwnPtr; 30 template<typename T> class PassOwnArrayPtr; 31 template<typename T> class PassOwnPtr; 32 template<typename T> class PassRefPtr; 33 template<typename T> class RefPtr; 34 template<typename T, size_t inlineCapacity> class Vector; 35 36 class AtomicString; 37 class AtomicStringImpl; 38 class CString; 39 class Decoder; 40 class Encoder; 41 class String; 42 class StringBuffer; 43 class StringImpl; 44 } 45 46 using WTF::ListRefPtr; 47 using WTF::OwnArrayPtr; 48 using WTF::OwnPtr; 49 using WTF::PassOwnArrayPtr; 50 using WTF::PassOwnPtr; 51 using WTF::PassRefPtr; 52 using WTF::RefPtr; 53 using WTF::Vector; 54 55 using WTF::AtomicString; 56 using WTF::AtomicStringImpl; 57 using WTF::CString; 58 using WTF::Encoder; 59 using WTF::Decoder; 60 using WTF::String; 61 using WTF::StringBuffer; 62 using WTF::StringImpl; 63 64 #endif // WTF_Forward_h 65