1// -*- C++ -*- 2// baz.h -- interface to the libfoo* libraries 3// Copyright (C) 1998-1999 Free Software Foundation, Inc. 4// Originally by Thomas Tanner <tanner@ffii.org> 5// This file is part of GNU Libtool. 6 7// This program is free software; you can redistribute it and/or modify 8// it under the terms of the GNU General Public License as published by 9// the Free Software Foundation; either version 2 of the License, or 10// (at your option) any later version. 11 12// This program is distributed in the hope that it will be useful, 13// but WITHOUT ANY WARRANTY; without even the implied warranty of 14// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15// GNU General Public License for more details. 16 17// You should have received a copy of the GNU General Public License 18// along with this program; if not, write to the Free Software 19// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 20// USA. 21 22// Only include this header file once. 23#ifndef _BAZ_H_ 24#define _BAZ_H_ 1 25 26// Our test C++ base class. 27class barbaz 28{ 29public: 30 virtual int baz(void) = 0; 31 // Some dummy pure virtual functions. 32}; 33 34 35// Our test C++ derived class. 36class barbaz_derived : public barbaz 37{ 38public: 39 virtual int baz(void); 40 // Override the base class' pure virtual functions. 41}; 42 43#endif /* !_FOO_H_ */ 44