example.h

Go to the documentation of this file.
00001 /******************************************************************************
00002  *
00003  * $Id: example.h,v 1.10 2001/03/19 19:27:40 root Exp $
00004  *
00005  * Copyright (C) 1997-2008 by Dimitri van Heesch.
00006  *
00007  * Permission to use, copy, modify, and distribute this software and its
00008  * documentation under the terms of the GNU General Public License is hereby 
00009  * granted. No representations are made about the suitability of this software 
00010  * for any purpose. It is provided "as is" without express or implied warranty.
00011  * See the GNU General Public License for more details.
00012  *
00013  * Documents produced by Doxygen are derivative works derived from the
00014  * input used in their production; they are not affected by this license.
00015  *
00016  */
00017 
00018 #ifndef EXAMPLE_H
00019 #define EXAMPLE_H
00020 
00021 #include "qtbc.h"
00022 #include <qdict.h>
00023 
00024 class ClassDef;
00025 class MemberName;
00026 
00027 struct Example
00028 {
00029   QCString anchor;
00030   QCString name;
00031   QCString file;
00032 };
00033 
00034 class ExampleSDict : public SDict<Example>
00035 {
00036   public:
00037     ExampleSDict(int size=17) : SDict<Example>(size) {}
00038    ~ExampleSDict() {}
00039     int compareItems(GCI item1,GCI item2)
00040     {
00041       return stricmp(((Example *)item1)->name,((Example *)item2)->name);
00042     }
00043 };
00044 
00045 #endif



Generated on Mon Mar 31 10:58:38 2008 by  doxygen 1.5.1