1 /******************************************************************************
3 * Copyright (C) 1997-2012 by Dimitri van Heesch.
5 * Permission to use, copy, modify, and distribute this software and its
6 * documentation under the terms of the GNU General Public License is hereby
7 * granted. No representations are made about the suitability of this software
8 * for any purpose. It is provided "as is" without express or implied warranty.
9 * See the GNU General Public License for more details.
11 * Documents produced by Doxygen are derivative works derived from the
12 * input used in their production; they are not affected by this license.
22 #include "ftextstream.h"
28 /** A class that generates docset files.
30 * These files can be used to create context help
31 * for use within Apple's Xcode 3.0 development environment
33 class DocSets : public IndexIntf
41 void incContentsDepth();
42 void decContentsDepth();
43 void addContentsItem(bool isDir,
52 void addIndexItem(Definition *context,MemberDef *md,const char *title);
53 void addIndexFile(const char *name);
54 void addImageFile(const char *) {}
55 void addStyleSheetFile(const char *) {}
58 void writeToken(FTextStream &t, const Definition *d,
59 const QCString &type, const QCString &lang,
60 const char *scope=0, const char *anchor=0,
64 NodeDef(bool d,const QCString &n,const QCString &r,
65 const QCString &f,const QCString &a,int i) :
66 isDir(d), name(n), ref(r), file(f), anchor(a),id(i) {}
81 QArray<bool> m_firstNode;
82 SDict<NodeDef> m_nodes;
86 #endif /* DOCSETS_H */