Home
last modified time | relevance | path

Searched refs:dk_path (Results 1 – 17 of 17) sorted by relevance

/dports/audio/hydrogen/hydrogen-1.0.1/src/core/src/basics/
H A Ddrumkit.cpp118 doc.read( dk_path ); in load_file()
124 Drumkit* pDrumkit = Legacy::load_drumkit( dk_path ); in load_file()
125 upgrade_drumkit(pDrumkit, dk_path); in load_file()
139 Drumkit* pDrumkit = Drumkit::load_from( &root, dk_path.left( dk_path.lastIndexOf( "/" ) ) ); in load_file()
140 upgrade_drumkit(pDrumkit, dk_path); in load_file()
154 Drumkit* pDrumkit = Drumkit::load_from( &root, dk_path.left( dk_path.lastIndexOf( "/" ) ) ); in load_file()
170 pDrumkit->__path = dk_path; in load_from()
223 Filesystem::file_copy( dk_path, in upgrade_drumkit()
224 dk_path + ".bak", in upgrade_drumkit()
227 pDrumkit->save_file( dk_path, true, -1 ); in upgrade_drumkit()
[all …]
H A Dinstrument_layer.cpp84 InstrumentLayer* InstrumentLayer::load_from( XMLNode* node, const QString& dk_path ) in load_from() argument
86 Sample* sample = new Sample( dk_path+"/"+node->read_string( "filename", "" ) ); in load_from()
H A Dinstrument_component.cpp100 InstrumentComponent* InstrumentComponent::load_from( XMLNode* node, const QString& dk_path ) in load_from() argument
116 pInstrumentComponent->set_layer( InstrumentLayer::load_from( &layer_node, dk_path ), n ); in load_from()
H A Dinstrument_list.cpp68 InstrumentList* InstrumentList::load_from( XMLNode* node, const QString& dk_path, const QString& dk… in load_from() argument
79 Instrument* instrument = Instrument::load_from( &instrument_node, dk_path, dk_name ); in load_from()
H A Ddrumkit_component.cpp119 DrumkitComponent* DrumkitComponent::load_from( XMLNode* node, const QString& dk_path ) in load_from() argument
H A Dinstrument.cpp269 Instrument* Instrument::load_from( XMLNode* node, const QString& dk_path, const QString& dk_name ) in load_from() argument
320 …pInstrument->get_components()->push_back( InstrumentComponent::load_from( &ComponentNode, dk_path in load_from()
/dports/audio/hydrogen/hydrogen-1.0.1/src/core/include/hydrogen/basics/
H A Ddrumkit.h97 static Drumkit* load_file( const QString& dk_path, const bool load_samples = false );
112 static void upgrade_drumkit( Drumkit* pDrumkit, const QString& dk_path );
120 static bool user_drumkit_exists( const QString& dk_path );
143 bool save_file( const QString& dk_path, bool overwrite=false, int component_id=-1 );
249 static Drumkit* load_from( XMLNode* node, const QString& dk_path );
H A Dinstrument_list.h160 static InstrumentList* load_from( XMLNode* node, const QString& dk_path, const QString& dk_name );
H A Dinstrument_component.h49 static InstrumentComponent* load_from( XMLNode* node, const QString& dk_path );
H A Dinstrument_layer.h105 static InstrumentLayer* load_from( XMLNode* node, const QString& dk_path );
H A Ddrumkit_component.h48 static DrumkitComponent* load_from( XMLNode* node, const QString& dk_path );
H A Dinstrument.h123 static Instrument* load_from( XMLNode* node, const QString& dk_path, const QString& dk_name );
/dports/audio/hydrogen/hydrogen-1.0.1/src/core/src/helpers/
H A Dlegacy.cpp24 Drumkit* Legacy::load_drumkit( const QString& dk_path ) { in load_drumkit() argument
31 if( !doc.read( dk_path ) ) { in load_drumkit()
45 pDrumkit->set_path( dk_path.left( dk_path.lastIndexOf( "/" ) ) ); in load_drumkit()
116 Sample* pSample = new Sample( dk_path+"/"+sFilename ); in load_drumkit()
161 Sample* pSample = new Sample( dk_path+"/"+layer_node.read_string( "filename", "" ) ); in load_drumkit()
H A Dfilesystem.cpp597 bool Filesystem::drumkit_valid( const QString& dk_path ) in drumkit_valid() argument
599 return file_readable( dk_path + "/" + DRUMKIT_XML, true); in drumkit_valid()
601 QString Filesystem::drumkit_file( const QString& dk_path ) in drumkit_file() argument
603 return dk_path + "/" + DRUMKIT_XML; in drumkit_file()
/dports/audio/hydrogen/hydrogen-1.0.1/src/core/include/hydrogen/helpers/
H A Dfilesystem.h158 static bool drumkit_valid( const QString& dk_path );
163 static QString drumkit_file( const QString& dk_path );
H A Dlegacy.h25 static Drumkit* load_drumkit( const QString& dk_path );
/dports/audio/hydrogen/hydrogen-1.0.1/src/tests/
H A Dxml_test.cpp50 QString dk_path = H2Core::Filesystem::tmp_dir()+"/dk0"; in testDrumkit() local