File: LV2NetworkExporter.cxx

package info (click to toggle)
clam 1.4.0-6
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 17,836 kB
  • ctags: 20,981
  • sloc: cpp: 92,504; python: 9,721; ansic: 1,602; xml: 444; sh: 239; makefile: 153; perl: 54; asm: 15
file content (15 lines) | stat: -rw-r--r-- 413 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "LV2NetworkExporter.hxx"
#include "LV2Library.hxx"
#include "LV2NetworkPlayer.hxx"

LV2NetworkExporter::LV2NetworkExporter(
	LV2Library & library, 
	const std::string & networkXmlContent,
	const std::string & uri
	)
{
	LV2_Descriptor * descriptor = CLAM::LV2NetworkPlayer::CreateLV2Descriptor(networkXmlContent, uri);
	if (not descriptor) return;
	library.AddPluginType(descriptor,networkXmlContent);
}