mirror of
https://github.com/LMMS/lmms.git
synced 2026-01-22 05:18:12 -05:00
This PR places all LMMS symbols into namespaces to eliminate any potential future name collisions between LMMS and third-party modules.
Also, this PR changes back `LmmsCore` to `Engine`, reverting c519921306 .
Co-authored-by: allejok96 <allejok96@gmail.com>
38 lines
1.2 KiB
C++
38 lines
1.2 KiB
C++
#ifndef LFILEMNG_H
|
|
#define LFILEMNG_H
|
|
|
|
#include <iostream>
|
|
#include <fstream>
|
|
#include <vector>
|
|
#include <string>
|
|
#include <QDomDocument>
|
|
|
|
namespace lmms
|
|
{
|
|
|
|
|
|
class LocalFileMng
|
|
{
|
|
public:
|
|
LocalFileMng();
|
|
~LocalFileMng();
|
|
std::vector<QString> getallPatternList(){
|
|
return m_allPatternList;
|
|
}
|
|
|
|
static QString readXmlString( QDomNode , const QString& nodeName, const QString& defaultValue, bool bCanBeEmpty = false, bool bShouldExists = true , bool tinyXmlCompatMode = false);
|
|
static float readXmlFloat( QDomNode , const QString& nodeName, float defaultValue, bool bCanBeEmpty = false, bool bShouldExists = true , bool tinyXmlCompatMode = false);
|
|
static int readXmlInt( QDomNode , const QString& nodeName, int defaultValue, bool bCanBeEmpty = false, bool bShouldExists = true , bool tinyXmlCompatMode = false);
|
|
static bool readXmlBool( QDomNode , const QString& nodeName, bool defaultValue, bool bShouldExists = true , bool tinyXmlCompatMode = false );
|
|
static void convertFromTinyXMLString( QByteArray* str );
|
|
static bool checkTinyXMLCompatMode( const QString& filename );
|
|
static QDomDocument openXmlDocument( const QString& filename );
|
|
std::vector<QString> m_allPatternList;
|
|
};
|
|
|
|
|
|
} // namespace lmms
|
|
|
|
#endif //LFILEMNG_H
|
|
|