open_toontown_panda3d/panda/src/putil/vector_writable.h

46 lines
1.3 KiB
C++

// Filename: vector_writable.h
// Created by: jason (14Jun00)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) Carnegie Mellon University. All rights reserved.
//
// All use of this software is subject to the terms of the revised BSD
// license. You should have received a copy of this license along
// with this source code in a file named "LICENSE."
//
////////////////////////////////////////////////////////////////////
#ifndef VECTOR_WRITABLE_H
#define VECTOR_WRITABLE_H
#include "pandabase.h"
#include "pvector.h"
class Writable;
////////////////////////////////////////////////////////////////////
// Class : vector_writable
// Description : A vector of Writable *. This class is defined once here,
// and exported to PANDA.DLL; other packages that want
// to use a vector of this type (whether they need to
// export it or not) should include this header file,
// rather than defining the vector again.
////////////////////////////////////////////////////////////////////
#define EXPCL EXPCL_PANDA_PUTIL
#define EXPTP EXPTP_PANDA_PUTIL
#define TYPE Writable *
#define NAME vector_writable
#include "vector_src.h"
// Tell GCC that we'll take care of the instantiation explicitly here.
#ifdef __GNUC__
#pragma interface
#endif
#endif