7 #define MEMORY_SIZE 512 * TTK_SN_KB2B
8 #define MEMORY_KEY TTK_STR_CAT(TTK_AUTHOR_NAME, TTK_DEFAULT_STR, TTK_APP_NAME)
16 if(client.size() <= 0)
22 const QByteArray &data = QUrl::toPercentEncoding(args.join(
TTK_SPLITER));
23 memcpy(client.data(), data.constData(), data.length());
89 else if(parser.
isSet(op2))
93 else if(args.count() == 1)
95 const QString &url = args.first();
96 if(url.startsWith(
'-'))
108 const QByteArray &buffer = QByteArray((
char*)
m_memory.data());
static MusicApplication * instance()
QString value(const TTKCommandLineOption &option) const
void execute(const QStringList &args) const
The class of the command line option.
bool isSet(const TTKCommandLineOption &option) const
#define TTK_INFO_STREAM(msg)
bool addOption(const TTKCommandLineOption &option)
TTK_MODULE_EXPORT QStringList split(const QString &value, const QString &key=TTK_DEFAULT_STR)
void importSongsByOutside(const QString &path, bool play)
void execute(const QStringList &args) const
MusicProcessServer(QObject *parent=nullptr)
The class of the command line parser.