summaryrefslogtreecommitdiffstats
path: root/Plugins/SqlEnterpriseFormatter/formatcreatetrigger.h
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2015-04-19 22:30:21 -0400
committerLibravatarUnit 193 <unit193@ubuntu.com>2015-04-19 22:30:21 -0400
commita308f430f694423064ebc86fd0506c8c6fdb3d93 (patch)
treeceacd24fecf92f40980f8d8f3fd169e317c886af /Plugins/SqlEnterpriseFormatter/formatcreatetrigger.h
parenta5b034d4a9c44f9bc1e83b01de82530f8fc63013 (diff)
Imported Upstream version 3.0.5upstream/3.0.5
Diffstat (limited to 'Plugins/SqlEnterpriseFormatter/formatcreatetrigger.h')
-rw-r--r--Plugins/SqlEnterpriseFormatter/formatcreatetrigger.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Plugins/SqlEnterpriseFormatter/formatcreatetrigger.h b/Plugins/SqlEnterpriseFormatter/formatcreatetrigger.h
index 795c2c7..108a31e 100644
--- a/Plugins/SqlEnterpriseFormatter/formatcreatetrigger.h
+++ b/Plugins/SqlEnterpriseFormatter/formatcreatetrigger.h
@@ -3,6 +3,7 @@
#include "formatstatement.h"
#include "parser/ast/sqlitecreatetrigger.h"
+#include "common/global.h"
class FormatCreateTrigger : public FormatStatement
{
@@ -14,18 +15,24 @@ class FormatCreateTrigger : public FormatStatement
private:
SqliteCreateTrigger* createTrig = nullptr;
+
+ static_char* TRIGGER_MARK = "TRIGGER";
};
class FormatCreateTriggerEvent : public FormatStatement
{
public:
FormatCreateTriggerEvent(SqliteCreateTrigger::Event* ev);
+ void setLineUpKeyword(const QString& lineUpKw);
protected:
void formatInternal();
private:
SqliteCreateTrigger::Event* ev = nullptr;
+ QString lineUpKw;
+
+ static_char* TRIGGER_MARK = "TRIGGER";
};
#endif // FORMATCREATETRIGGER_H