Fix no newlines warnings. Patch by Peter Oberndorfer
[kdevelopdvcssupport.git] / interfaces / icore.cpp
blobe9a6b79bcaed83b8349e802f57af3d659c0d7ffb
1 /* This file is part of KDevelop
2 Copyright 2007 Alexander Dymo <adymo@kdevelop.org>
3 Copyright 2007 Kris Wong <kris.p.wong@gmail.com>
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Library General Public
7 License as published by the Free Software Foundation; either
8 version 2 of the License, or (at your option) any later version.
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Library General Public License for more details.
15 You should have received a copy of the GNU Library General Public License
16 along with this library; see the file COPYING.LIB. If not, write to
17 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 Boston, MA 02110-1301, USA.
21 #include "icore.h"
22 #include "scripting/scriptingmanager.h"
24 namespace KDevelop {
26 ICore *ICore::m_self = 0;
28 ICore::ICore(QObject *parent)
29 : QObject(parent)
31 Q_ASSERT(m_self == 0);
32 m_self = this;
35 ICore::~ICore()
37 m_self = 0;
40 ICore *ICore::self()
42 return m_self;
47 #include "icore.moc"