#ifndef TWIDGETECMAPLUGIN_H #define TWIDGETECMAPLUGIN_H /**************************************************************************** ** ** Copyright (c) 2009-2016 TopLinker Co.,Ltd. (http://www.toplinker.net) ** ALL RIGHTS RESERVED ** ** The entire contents of this file is protected by copyright law and ** international treaties. Unauthorized reproduction, reverse-engineering ** and distribution of all or any portion of the code contained in this ** file is strictly prohibited and may result in severe civil and ** criminal penalties and will be prosecuted to the maximum extent ** possible under the law. ** ** RESTRICTIONS ** ** THE SOURCE CODE CONTAINED WITHIN THIS FILE AND ALL RELATED ** FILES OR ANY PORTION OF ITS CONTENTS SHALL AT NO TIME BE ** COPIED, TRANSFERRED, SOLD, DISTRIBUTED, OR OTHERWISE MADE ** AVAILABLE TO OTHER INDIVIDUALS WITHOUT WRITTEN CONSENT ** AND PERMISSION FROM DEVELOPER MACHINES ** ** CONSULT THE END USER LICENSE AGREEMENT FOR INFORMATION ON ** ADDITIONAL RESTRICTIONS. ** ****************************************************************************/ #include <QScriptExtensionPlugin> class TWidgetEcmaPlugin : public QScriptExtensionPlugin { Q_OBJECT Q_PLUGIN_METADATA(IID "net.toplinker.ecmaplugin") public: QStringList keys() const; void initialize(const QString &key, QScriptEngine *engine); }; #endif // TWIDGETECMAPLUGIN_H