/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkTInternalLList_DEFINED #define SkTInternalLList_DEFINED #include "include/private/base/SkAssert.h" #include "include/private/base/SkDebug.h" #include "include/private/base/SkTo.h" /** * This macro creates the member variables required by the SkTInternalLList class. It should be * placed in the private section of any class that will be stored in a double linked list. */ #define SK_DECLARE_INTERNAL_LLIST_INTERFACE(ClassName) … /** * This class implements a templated internal doubly linked list data structure. */ template <class T> class SkTInternalLList { … }; #endif