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:
@@ -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>
|
||||
|
||||
@@ -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...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user