mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-08 04:08:14 +02:00
First steps towards enablement of MSVC2017 for pymod. A lot of things to TODO yet ...
This commit is contained in:
@@ -36,7 +36,6 @@
|
||||
#if defined(HAVE_QTBINDINGS)
|
||||
# include "gsiQtGuiExternals.h"
|
||||
# include "gsiQtWidgetsExternals.h"
|
||||
|
||||
FORCE_LINK_GSI_QTGUI
|
||||
FORCE_LINK_GSI_QTWIDGETS // for Qt5
|
||||
|
||||
|
||||
@@ -43,8 +43,6 @@ namespace tl
|
||||
template <> struct type_traits<gsi::PluginBase> : public type_traits<void> {
|
||||
typedef tl::false_tag has_copy_constructor;
|
||||
};
|
||||
|
||||
template <> Registrar<gsi::PluginFactoryBase> *Registrar<gsi::PluginFactoryBase>::instance = 0;
|
||||
}
|
||||
|
||||
namespace gsi
|
||||
|
||||
@@ -112,7 +112,7 @@ LayoutHandle::layout_changed ()
|
||||
}
|
||||
|
||||
void
|
||||
LayoutHandle::rename (const std::string &name, bool force) throw (tl::Exception)
|
||||
LayoutHandle::rename (const std::string &name, bool force)
|
||||
{
|
||||
std::string n (name);
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@ public:
|
||||
* If "force" is set to true, the layout will be given that name, irregardless if
|
||||
* the name already is being used. If "force" is false, a new unique name is created.
|
||||
*/
|
||||
void rename (const std::string &name, bool force = false) throw (tl::Exception);
|
||||
void rename (const std::string &name, bool force = false);
|
||||
|
||||
/**
|
||||
* @brief Gets the name of the handle
|
||||
|
||||
@@ -589,9 +589,3 @@ PluginRoot::instance ()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
namespace tl
|
||||
{
|
||||
template<> LAYBASIC_PUBLIC Registrar<lay::PluginDeclaration> *tl::Registrar<lay::PluginDeclaration>::instance = 0;
|
||||
template class LAYBASIC_PUBLIC tl::RegisteredClass<lay::PluginDeclaration>;
|
||||
}
|
||||
|
||||
@@ -22,17 +22,5 @@
|
||||
|
||||
|
||||
#include "layTechnology.h"
|
||||
#include "layPlugin.h"
|
||||
#include "layStream.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <QFileInfo>
|
||||
#include <QDir>
|
||||
|
||||
namespace tl
|
||||
{
|
||||
template<> LAYBASIC_PUBLIC tl::Registrar<lay::TechnologyEditorProvider> *tl::Registrar<lay::TechnologyEditorProvider>::instance = 0;
|
||||
template class LAYBASIC_PUBLIC tl::RegisteredClass<lay::TechnologyEditorProvider>;
|
||||
}
|
||||
|
||||
// .. nothing yet ..
|
||||
|
||||
Reference in New Issue
Block a user