mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 06:05:49 -06:00
44 lines
846 B
C++
44 lines
846 B
C++
//////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// pgAdmin III - PostgreSQL Tools
|
|
//
|
|
// Copyright (C) 2002 - 2016, The pgAdmin Development Team
|
|
// This software is released under the PostgreSQL Licence
|
|
//
|
|
// dlgRule.h - Rule property
|
|
//
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
#ifndef __DLG_RULEPROP
|
|
#define __DLG_RULEPROP
|
|
|
|
#include "dlg/dlgProperty.h"
|
|
|
|
class pgTable;
|
|
class pgRule;
|
|
class ctlSQLBox;
|
|
|
|
class dlgRule : public dlgProperty
|
|
{
|
|
public:
|
|
dlgRule(pgaFactory *factory, frmMain *frame, pgRule *r, pgTable *tab);
|
|
int Go(bool modal);
|
|
|
|
void CheckChange();
|
|
wxString GetSql();
|
|
pgObject *CreateObject(pgCollection *collection);
|
|
pgObject *GetObject();
|
|
|
|
private:
|
|
pgTable *table;
|
|
pgRule *rule;
|
|
wxString oldDefinition;
|
|
|
|
bool didChange();
|
|
|
|
DECLARE_EVENT_TABLE()
|
|
};
|
|
|
|
|
|
#endif
|