diff options
| author | 2015-04-19 22:30:43 -0400 | |
|---|---|---|
| committer | 2015-04-19 22:30:43 -0400 | |
| commit | 094918f048c81474b22f9ba2940c96dc4033d753 (patch) | |
| tree | 2b89c77ad7dc9c55e9ba383f23f9f25b82df358e /Plugins/SqlEnterpriseFormatter/formatcreatetrigger.h | |
| parent | 640fff60ceecde402131937dddb3458f7a003e9c (diff) | |
| parent | a308f430f694423064ebc86fd0506c8c6fdb3d93 (diff) | |
Merge tag 'upstream/3.0.5'
Upstream version 3.0.5
# gpg: Signature made Sun 19 Apr 2015 10:30:41 PM EDT using RSA key ID EBE9BD91
# gpg: Good signature from "Unit 193 <unit193@gmail.com>"
# gpg: aka "Unit 193 <unit193@ninthfloor.org>"
# gpg: aka "Unit 193 <unit193@ubuntu.com>"
# gpg: aka "Unit 193 <unit193@ninthfloor.com>"
Diffstat (limited to 'Plugins/SqlEnterpriseFormatter/formatcreatetrigger.h')
| -rw-r--r-- | Plugins/SqlEnterpriseFormatter/formatcreatetrigger.h | 7 |
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 |
