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

interfaces

icore.h

00001 /* This file is part of KDevelop
00002 Copyright 2007 Alexander Dymo <adymo@kdevelop.org>
00003 Copyright 2007 Kris Wong <kris.p.wong@gmail.com>
00004 
00005 This library is free software; you can redistribute it and/or
00006 modify it under the terms of the GNU Library General Public
00007 License as published by the Free Software Foundation; either
00008 version 2 of the License, or (at your option) any later version.
00009 
00010 This library is distributed in the hope that it will be useful,
00011 but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013 Library General Public License for more details.
00014 
00015 You should have received a copy of the GNU Library General Public License
00016 along with this library; see the file COPYING.LIB.  If not, write to
00017 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018 Boston, MA 02110-1301, USA.
00019 */
00020 
00021 #ifndef ICORE_H
00022 #define ICORE_H
00023 
00024 #include <QtCore/QObject>
00025 #include "interfacesexport.h"
00026 
00027 class KComponentData;
00028 
00029 namespace KParts
00030 {
00031 class PartManager;
00032 }
00033 
00038 namespace KDevelop
00039 {
00040 
00041 class IUiController;
00042 class IPluginController;
00043 class IProjectController;
00044 class ILanguageController;
00045 class IDocumentController;
00046 class ISessionController;
00047 class IRunController;
00048 class ISession;
00049 
00067 class KDEVPLATFORMINTERFACES_EXPORT ICore: public QObject
00068 {
00069     Q_OBJECT
00070 
00071 public:
00072     virtual ~ICore();
00073 
00075     static ICore *self();
00076 
00078     Q_SCRIPTABLE virtual KDevelop::IUiController *uiController() = 0;
00079 
00081     Q_SCRIPTABLE virtual KDevelop::IPluginController *pluginController() = 0;
00082 
00084     Q_SCRIPTABLE virtual KDevelop::IProjectController *projectController() = 0;
00085 
00087     Q_SCRIPTABLE virtual KDevelop::ILanguageController *languageController() = 0;
00088 
00090     Q_SCRIPTABLE virtual KParts::PartManager *partManager() = 0;
00091 
00093     Q_SCRIPTABLE virtual KDevelop::IDocumentController *documentController() = 0;
00094 
00096     Q_SCRIPTABLE virtual KDevelop::IRunController *runController() = 0;
00097 
00099     Q_SCRIPTABLE virtual KDevelop::ISession *activeSession() = 0;
00100 
00102     virtual KComponentData componentData() const = 0;
00103 
00104 protected:
00105     ICore(QObject *parent = 0);
00106     static ICore *m_self;
00107 };
00108 
00109 }
00110 
00111 #endif

interfaces

Skip menu "interfaces"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

KDevelop Platform Libraries

Skip menu "KDevelop Platform Libraries"
  • interfaces
  • language
  •   codegen
  •   duchain
  •   editor
  • outputview
  •     interfaces
  • project
  • shell
  • sublime
  • util
  • vcs
Generated for KDevelop Platform Libraries by doxygen 1.5.4
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