LV2: moved conditional include into lv2_manager.h

Moved conditional #include <slv2/scalepoints.h> from lv2_manager.cpp
into lv2_manager.h so we only have to have this compat code in one
place.
This commit is contained in:
Tobias Doerffel
2009-05-24 01:28:16 +02:00
parent 41c939f5aa
commit 031e87b307
2 changed files with 6 additions and 4 deletions

View File

@@ -26,12 +26,18 @@
#ifndef _LV2_MANAGER_H
#define _LV2_MANAGER_H
#include "lmmsconfig.h"
#ifdef LMMS_HAVE_LV2
#include <slv2/world.h>
#include <slv2/plugin.h>
#include <slv2/scalepoint.h>
#ifdef LMMS_HAVE_SLV2_SCALEPOINTS_H
#include <slv2/scalepoints.h>
#endif
#include <QtCore/QMap>
#include <QtCore/QPair>
#include <QtCore/QString>

View File

@@ -36,10 +36,6 @@
#ifdef LMMS_HAVE_LV2
#ifdef LMMS_HAVE_SLV2_SCALEPOINTS_H
#include "slv2/scalepoints.h"
#endif
lv2Manager * static_lv2_manager=(lv2Manager *)NULL; // There is only one of these...