diff options
| author | 2014-12-06 17:33:25 -0500 | |
|---|---|---|
| committer | 2014-12-06 17:33:25 -0500 | |
| commit | 7167ce41b61d2ba2cdb526777a4233eb84a3b66a (patch) | |
| tree | a35c14143716e1f2c98f808c81f89426045a946f /Plugins/SqlEnterpriseFormatter/formatforeignkey.h | |
Imported Upstream version 2.99.6upstream/2.99.6
Diffstat (limited to 'Plugins/SqlEnterpriseFormatter/formatforeignkey.h')
| -rw-r--r-- | Plugins/SqlEnterpriseFormatter/formatforeignkey.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Plugins/SqlEnterpriseFormatter/formatforeignkey.h b/Plugins/SqlEnterpriseFormatter/formatforeignkey.h new file mode 100644 index 0000000..771fdba --- /dev/null +++ b/Plugins/SqlEnterpriseFormatter/formatforeignkey.h @@ -0,0 +1,33 @@ +#ifndef FORMATFOREIGNKEY_H +#define FORMATFOREIGNKEY_H + +#include "formatstatement.h" +#include "parser/ast/sqliteforeignkey.h" + +class FormatForeignKey : public FormatStatement +{ + public: + FormatForeignKey(SqliteForeignKey* fk); + + protected: + void formatInternal(); + + private: + SqliteForeignKey* fk = nullptr; +}; + +class FormatForeignKeyCondition : public FormatStatement +{ + public: + FormatForeignKeyCondition(SqliteForeignKey::Condition* cond); + + protected: + void formatInternal(); + + private: + void formatReaction(); + + SqliteForeignKey::Condition* cond = nullptr; +}; + +#endif // FORMATFOREIGNKEY_H |
