~ubuntu-branches/debian/squeeze/pgadmin3/squeeze

« back to all changes in this revision

Viewing changes to src/include/frmGrantWizard.h

  • Committer: Bazaar Package Importer
  • Author(s): Lionel Porcheron
  • Date: 2008-02-07 00:56:22 UTC
  • mto: (2.1.6 hardy) (6.1.2 sid)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20080207005622-c2ail8p4d0sk3dnw
Tags: upstream-1.8.2
ImportĀ upstreamĀ versionĀ 1.8.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
//////////////////////////////////////////////////////////////////////////
2
 
//
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
7
 
//
8
 
// frmGrantWizard.h - Grant Wizard Dialogue
9
 
//
10
 
//////////////////////////////////////////////////////////////////////////
11
 
 
12
 
#ifndef FRMGRANTWIZARD_H
13
 
#define FRMGRANTWIZARD_H
14
 
 
15
 
#include <wx/notebook.h>
16
 
#include "dlgClasses.h"
17
 
#include "base/factory.h"
18
 
 
19
 
class ctlSecurityPanel;
20
 
 
21
 
 
22
 
class frmGrantWizard : public ExecutionDialog
23
 
{
24
 
public:
25
 
    frmGrantWizard(frmMain *form, pgObject *_object);
26
 
    ~frmGrantWizard();
27
 
 
28
 
    void Go();
29
 
    wxString GetSql();
30
 
    wxString GetHelpPage() const;
31
 
    
32
 
private:
33
 
 
34
 
    void OnPageSelect(wxNotebookEvent& event);
35
 
    void OnCheckAll(wxCommandEvent &event);
36
 
    void OnUncheckAll(wxCommandEvent &event);
37
 
 
38
 
    void AddObjects(pgCollection *collection);
39
 
 
40
 
    wxArrayPtrVoid objectArray;
41
 
    ctlSQLBox *sqlPane;
42
 
    wxNotebook *nbNotebook;
43
 
    ctlSecurityPanel *securityPage;
44
 
 
45
 
    DECLARE_EVENT_TABLE()
46
 
};
47
 
 
48
 
class grantWizardFactory : public contextActionFactory
49
 
{
50
 
public:
51
 
    grantWizardFactory(menuFactoryList *list, wxMenu *mnu, wxToolBar *toolbar);
52
 
    wxWindow *StartDialog(frmMain *form, pgObject *obj);
53
 
    bool CheckEnable(pgObject *obj);
54
 
};
55
 
 
56
 
#endif