Mixxx

/home/maxime/Projets/Mixxx/1.10/mixxx/src/script/macro.h

Go to the documentation of this file.
00001 #ifndef SCRIPT_MACRO_H
00002 #define SCRIPT_MACRO_H
00003 
00004 #include <qstring.h>
00005 
00006 class Macro {
00007         public:
00008                 Macro(int lang, QString name = "", QString script = "");
00009                 ~Macro();
00010                 void setName(QString name);
00011                 QString getName();
00012                 void setScript(QString script);
00013                 QString getScript();
00014                 void setLang(int lang);
00015                 int getLang();
00016 
00017                 QString getLangName();
00018                 
00019                 static const int LANG_PYTHON = 1;
00020                 static const int LANG_LUA = 2;
00021                 static const int LANG_QTSCRIPT = 3;
00022         private:
00023                 QString m_name;
00024                 QString m_script;
00025                 int m_lang;
00026 };
00027 
00028 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines