• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • KDevelop Platform Libraries
  • Sitemap
  • Contact Us
 

language/duchain

abstractincludenavigationcontext.h

00001 /*
00002    Copyright 2007 David Nolden <david.nolden.kdevelop@art-master.de>
00003 
00004    This library is free software; you can redistribute it and/or
00005    modify it under the terms of the GNU Library General Public
00006    License version 2 as published by the Free Software Foundation.
00007 
00008    This library is distributed in the hope that it will be useful,
00009    but WITHOUT ANY WARRANTY; without even the implied warranty of
00010    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00011    Library General Public License for more details.
00012 
00013    You should have received a copy of the GNU Library General Public License
00014    along with this library; see the file COPYING.LIB.  If not, write to
00015    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00016    Boston, MA 02110-1301, USA.
00017 */
00018 
00019 #ifndef KDEV_ABSTRACTINCLUDENAVIGATIONCONTEXT_H
00020 #define KDEV_ABSTRACTINCLUDENAVIGATIONCONTEXT_H
00021 
00022 #include "abstractnavigationcontext.h"
00023 #include "../../util/includeitem.h"
00024 #include "../../duchain/parsingenvironment.h"
00025 #include "../../languageexport.h"
00026 
00027 namespace KDevelop {
00028 
00049 class KDEVPLATFORMLANGUAGE_EXPORT AbstractIncludeNavigationContext : public AbstractNavigationContext {
00050 public:
00051   AbstractIncludeNavigationContext(const IncludeItem& item, TopDUContextPointer topContext, 
00052                                    const ParsingEnvironmentType& type);
00053   virtual QString html(bool shorten);
00054   virtual QString name() const;
00055 
00056 protected:
00060   virtual void getFileInfo(KDevelop::TopDUContext* duchain);
00061 
00062 private:
00064   ParsingEnvironmentType m_type;
00066   void addDeclarationsFromContext(KDevelop::DUContext* ctx, bool& first, QString indent = "");
00067   IncludeItem m_item;
00068 };
00069 
00070 }
00071 
00072 #endif // KDEV_ABSTRACTINCLUDENAVIGATIONCONTEXT_H

language/duchain

Skip menu "language/duchain"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

KDevelop Platform Libraries

Skip menu "KDevelop Platform Libraries"
  • interfaces
  • language
  •   codegen
  •   duchain
  •   editor
  • outputview
  • project
  • shell
  • sublime
  • util
  • vcs
Generated for KDevelop Platform Libraries by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal