Chameleon

Chameleon Svn Source Tree

Root/branches/xZenu/src/util/doxygen/src/example.h

Source at commit 1322 created 9 years 5 months ago.
By meklort, Add doxygen to utils folder
1/******************************************************************************
2 *
3 * $Id: example.h,v 1.10 2001/03/19 19:27:40 root Exp $
4 *
5 * Copyright (C) 1997-2011 by Dimitri van Heesch.
6 *
7 * Permission to use, copy, modify, and distribute this software and its
8 * documentation under the terms of the GNU General Public License is hereby
9 * granted. No representations are made about the suitability of this software
10 * for any purpose. It is provided "as is" without express or implied warranty.
11 * See the GNU General Public License for more details.
12 *
13 * Documents produced by Doxygen are derivative works derived from the
14 * input used in their production; they are not affected by this license.
15 *
16 */
17
18#ifndef EXAMPLE_H
19#define EXAMPLE_H
20
21#include "qtbc.h"
22#include <qdict.h>
23
24class ClassDef;
25class MemberName;
26
27struct Example
28{
29 QCString anchor;
30 QCString name;
31 QCString file;
32};
33
34class ExampleSDict : public SDict<Example>
35{
36 public:
37 ExampleSDict(int size=17) : SDict<Example>(size) {}
38 ~ExampleSDict() {}
39 int compareItems(GCI item1,GCI item2)
40 {
41 return stricmp(((Example *)item1)->name,((Example *)item2)->name);
42 }
43};
44
45#endif
46

Archive Download this file

Revision: 1322