1
//////////////////////////////////////////////////////////////////////////
3
// pgAdmin III - PostgreSQL Tools
4
// RCS-ID: $Id: frmGrantWizard.h 4874 2006-01-06 17:33:27Z dpage $
5
// Copyright (C) 2002 - 2006, The pgAdmin Development Team
6
// This software is released under the Artistic Licence
8
// frmGrantWizard.h - Grant Wizard Dialogue
10
//////////////////////////////////////////////////////////////////////////
12
#ifndef FRMGRANTWIZARD_H
13
#define FRMGRANTWIZARD_H
15
#include <wx/notebook.h>
16
#include "dlgClasses.h"
17
#include "base/factory.h"
19
class ctlSecurityPanel;
22
class frmGrantWizard : public ExecutionDialog
25
frmGrantWizard(frmMain *form, pgObject *_object);
30
wxString GetHelpPage() const;
34
void OnPageSelect(wxNotebookEvent& event);
35
void OnCheckAll(wxCommandEvent &event);
36
void OnUncheckAll(wxCommandEvent &event);
38
void AddObjects(pgCollection *collection);
40
wxArrayPtrVoid objectArray;
42
wxNotebook *nbNotebook;
43
ctlSecurityPanel *securityPage;
48
class grantWizardFactory : public contextActionFactory
51
grantWizardFactory(menuFactoryList *list, wxMenu *mnu, wxToolBar *toolbar);
52
wxWindow *StartDialog(frmMain *form, pgObject *obj);
53
bool CheckEnable(pgObject *obj);