mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 06:05:49 -06:00
47 lines
1 KiB
C++
47 lines
1 KiB
C++
//////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// pgAdmin III - PostgreSQL Tools
|
|
//
|
|
// Copyright (C) 2002 - 2016, The pgAdmin Development Team
|
|
// This software is released under the PostgreSQL Licence
|
|
//
|
|
// dlgHbaConfig.h - Configure setting
|
|
//
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef __DLGHBACONFIG_H
|
|
#define __DLGHBACONFIG_H
|
|
|
|
#include "dlg/dlgClasses.h"
|
|
#include "utils/pgconfig.h"
|
|
|
|
// Class declarations
|
|
class dlgHbaConfig : public DialogWithHelp
|
|
{
|
|
public:
|
|
dlgHbaConfig(pgFrame *parent, pgHbaConfigLine *line, pgConn *_conn);
|
|
~dlgHbaConfig();
|
|
wxString GetHelpPage() const;
|
|
|
|
int Go();
|
|
|
|
private:
|
|
pgHbaConfigLine *line;
|
|
|
|
void OnOK(wxCommandEvent &ev);
|
|
void OnCancel(wxCommandEvent &ev);
|
|
void OnChange(wxCommandEvent &ev);
|
|
void OnAddDatabase(wxCommandEvent &ev);
|
|
void OnAddUser(wxCommandEvent &ev);
|
|
void OnAddValue(wxCommandEvent &ev);
|
|
|
|
wxString database, user;
|
|
|
|
bool databaseAdding, userAdding;
|
|
|
|
pgConn *conn;
|
|
|
|
DECLARE_EVENT_TABLE()
|
|
};
|
|
|
|
#endif
|