summaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-08-27 18:37:30 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2009-08-27 19:04:33 -0300
commit21ec8e15575cb3f58db759d123b2e471f9bd2e22 (patch)
tree309cd9cba850ccc49265597ff3b195853564955e /main.cpp
parent39dd735c9486a5808e26a4f07e19522cc904ddd9 (diff)
downloadshiboken-21ec8e15575cb3f58db759d123b2e471f9bd2e22.tar.gz
shiboken-21ec8e15575cb3f58db759d123b2e471f9bd2e22.tar.xz
shiboken-21ec8e15575cb3f58db759d123b2e471f9bd2e22.zip
Shiboken ported to the new generator/apiextractor architeture.
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp38
1 files changed, 0 insertions, 38 deletions
diff --git a/main.cpp b/main.cpp
deleted file mode 100644
index 8700551f..00000000
--- a/main.cpp
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * This file is part of the Shiboken Python Binding Generator project.
- *
- * Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
- *
- * Contact: PySide team <contact@pyside.org>
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * version 2 as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA
- *
- */
-
-#include <QtCore/QCoreApplication>
-#include <apiextractor/apiextractor.h>
-#include "headergenerator.h"
-#include "cppgenerator.h"
-
-int main(int argc, char *argv[])
-{
- QCoreApplication app(argc, argv); // needed by qxmlpatterns
-
- ApiExtractor extractor(argc, argv);
- extractor.addGenerator(new HeaderGenerator);
- extractor.addGenerator(new CppGenerator);
- return extractor.exec();
-}
-