2020-02-14 20:41:10 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
|
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
* Redistribution and use in source and binary forms, with or without
|
|
|
|
* modification, are permitted provided that the following conditions are met:
|
|
|
|
*
|
|
|
|
* 1. Redistributions of source code must retain the above copyright notice, this
|
|
|
|
* list of conditions and the following disclaimer.
|
|
|
|
*
|
|
|
|
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
|
|
* this list of conditions and the following disclaimer in the documentation
|
|
|
|
* and/or other materials provided with the distribution.
|
|
|
|
*
|
|
|
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
|
|
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
|
|
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
|
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
|
|
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
|
|
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
|
|
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
|
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace AK {
|
|
|
|
|
|
|
|
class Bitmap;
|
|
|
|
class ByteBuffer;
|
2020-02-14 22:11:00 +00:00
|
|
|
class DebugLogStream;
|
2020-02-14 20:41:10 +00:00
|
|
|
class IPv4Address;
|
|
|
|
class JsonArray;
|
|
|
|
class JsonObject;
|
|
|
|
class JsonValue;
|
2020-02-14 22:11:00 +00:00
|
|
|
class LogStream;
|
2020-02-14 21:50:24 +00:00
|
|
|
class SharedBuffer;
|
2020-02-14 20:41:10 +00:00
|
|
|
class String;
|
|
|
|
class StringBuilder;
|
|
|
|
class StringImpl;
|
|
|
|
class StringView;
|
|
|
|
class URL;
|
|
|
|
|
|
|
|
template<typename T>
|
|
|
|
class SinglyLinkedList;
|
|
|
|
|
|
|
|
template<typename T>
|
|
|
|
class DoublyLinkedList;
|
|
|
|
|
|
|
|
template<typename T>
|
|
|
|
class InlineLinkedList;
|
|
|
|
|
|
|
|
template<typename T, int capacity>
|
|
|
|
class CircularQueue;
|
|
|
|
|
|
|
|
template<typename T>
|
|
|
|
class Badge;
|
|
|
|
|
|
|
|
template<typename T>
|
|
|
|
class FixedArray;
|
|
|
|
|
|
|
|
template<typename>
|
|
|
|
class Function;
|
|
|
|
|
|
|
|
template<typename Out, typename... In>
|
|
|
|
class Function<Out(In...)>;
|
|
|
|
|
|
|
|
template<typename T>
|
|
|
|
class NonnullRefPtr;
|
|
|
|
|
|
|
|
template<typename T>
|
|
|
|
class NonnullOwnPtr;
|
|
|
|
|
2020-02-14 21:29:06 +00:00
|
|
|
template<typename T>
|
|
|
|
class Optional;
|
|
|
|
|
2020-02-14 20:41:10 +00:00
|
|
|
template<typename T>
|
|
|
|
class RefPtr;
|
|
|
|
|
|
|
|
template<typename T>
|
|
|
|
class OwnPtr;
|
|
|
|
|
|
|
|
template<typename T>
|
|
|
|
class WeakPtr;
|
|
|
|
|
|
|
|
template<typename T, int inline_capacity = 0>
|
|
|
|
class Vector;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
using AK::Badge;
|
|
|
|
using AK::Bitmap;
|
|
|
|
using AK::ByteBuffer;
|
|
|
|
using AK::CircularQueue;
|
2020-02-14 22:11:00 +00:00
|
|
|
using AK::DebugLogStream;
|
2020-02-14 20:41:10 +00:00
|
|
|
using AK::DoublyLinkedList;
|
|
|
|
using AK::FixedArray;
|
|
|
|
using AK::Function;
|
|
|
|
using AK::IPv4Address;
|
2020-02-14 22:11:00 +00:00
|
|
|
using AK::InlineLinkedList;
|
2020-02-14 20:41:10 +00:00
|
|
|
using AK::JsonArray;
|
|
|
|
using AK::JsonObject;
|
|
|
|
using AK::JsonValue;
|
2020-02-14 22:11:00 +00:00
|
|
|
using AK::LogStream;
|
2020-02-14 20:41:10 +00:00
|
|
|
using AK::NonnullOwnPtr;
|
|
|
|
using AK::NonnullRefPtr;
|
2020-02-14 21:29:06 +00:00
|
|
|
using AK::Optional;
|
2020-02-14 20:41:10 +00:00
|
|
|
using AK::OwnPtr;
|
|
|
|
using AK::RefPtr;
|
2020-02-14 21:50:24 +00:00
|
|
|
using AK::SharedBuffer;
|
2020-02-14 20:41:10 +00:00
|
|
|
using AK::SinglyLinkedList;
|
|
|
|
using AK::String;
|
|
|
|
using AK::StringBuilder;
|
|
|
|
using AK::StringImpl;
|
|
|
|
using AK::StringView;
|
|
|
|
using AK::URL;
|
|
|
|
using AK::Vector;
|