code format & class prefix

This commit is contained in:
王劲鹏
2021-02-04 16:59:58 +08:00
committed by osborn
parent 99afe83b19
commit be37a71699
90 changed files with 1196 additions and 1274 deletions

View File

@@ -0,0 +1,9 @@
#include "DoricShaderPlugin.h"
#include <QDebug>
DoricShaderPlugin::DoricShaderPlugin(QObject *parent) : QObject(parent) {}
void DoricShaderPlugin::render(QJSValue jsValue, QString callbackId) {
qDebug() << "";
}

View File

@@ -0,0 +1,15 @@
#ifndef SHADERPLUGIN_H
#define SHADERPLUGIN_H
#include <QJSValue>
#include <QObject>
class DoricShaderPlugin : public QObject {
Q_OBJECT
public:
DoricShaderPlugin(QObject *parent);
Q_INVOKABLE void render(QJSValue jsValue, QString callbackId);
};
#endif // SHADERPLUGIN_H

View File

@@ -1,13 +0,0 @@
#include "shader_plugin.h"
#include <QDebug>
ShaderPlugin::ShaderPlugin(QObject* parent) : QObject (parent)
{
}
void ShaderPlugin::render(QJSValue jsValue, QString callbackId)
{
qDebug() << "";
}

View File

@@ -1,16 +0,0 @@
#ifndef SHADERPLUGIN_H
#define SHADERPLUGIN_H
#include <QJSValue>
#include <QObject>
class ShaderPlugin : public QObject
{
Q_OBJECT
public:
ShaderPlugin(QObject* parent);
Q_INVOKABLE void render(QJSValue jsValue, QString callbackId);
};
#endif // SHADERPLUGIN_H