/[libtool]/libtool/tagdemo/baz.h
ViewVC logotype

Diff of /libtool/tagdemo/baz.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by othman, Tue Feb 8 18:47:30 2000 UTC revision 1.2 by rboehne, Wed Jun 6 14:53:29 2001 UTC
# Line 0  Line 1 
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., 59 Temple Place, Suite 330, Boston, MA  02111-1307
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.
27    class barbaz
28    {
29    public:
30      virtual int baz(void) = 0;
31      // Some dummy pure virtual functions.
32    };
33    
34    
35    // Our test C++ derived class.
36    class barbaz_derived : public barbaz
37    {
38    public:
39      virtual int baz(void);
40      // Override the base class' pure virtual functions.
41    };
42    
43    #endif /* !_FOO_H_ */

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26