~ubuntu-branches/debian/sid/pgadmin3/sid

« back to all changes in this revision

Viewing changes to pgadmin/include/frm/frmBackupServer.h

  • Committer: Bazaar Package Importer
  • Author(s): Gerfried Fuchs
  • Date: 2009-07-30 12:27:16 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090730122716-fddbh42on721bbs2
Tags: 1.10.0-1
* New upstream release.
* Adjusted watch file to match release candidates.
* Updated to Standards-Version 3.8.2:
  - Moved to Section: database.
  - Add DEB_BUILD_OPTIONS support for parallel building.
  - Move from findstring to filter suggestion for DEB_BUILD_OPTIONS parsing.
* pgagent got split into its own separate source package by upstream.
* Exclude Docs.vcproj from installation.
* Move doc-base.enus from pgadmin3 to pgadmin3-data package, the files are
  in there too.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
//////////////////////////////////////////////////////////////////////////
2
 
//
3
 
// pgAdmin III - PostgreSQL Tools
4
 
// RCS-ID:      $Id: frmBackupServer.h 6930 2008-01-02 00:10:01Z dpage $
5
 
// Copyright (C) 2002 - 2008, The pgAdmin Development Team
6
 
// This software is released under the Artistic Licence
7
 
//
8
 
// frmBackupServer.h - Backup server dialogue
9
 
//
10
 
//////////////////////////////////////////////////////////////////////////
11
 
 
12
 
 
13
 
#ifndef FRMBACKUPSERVER_H
14
 
#define FRMBACKUPSERVER_H
15
 
 
16
 
#include "dlg/dlgClasses.h"
17
 
#include "utils/factory.h"
18
 
 
19
 
class frmMain;
20
 
 
21
 
class frmBackupServer : public ExternProcessDialog
22
 
{
23
 
public:
24
 
    frmBackupServer(frmMain *form, pgObject *_object);
25
 
    ~frmBackupServer();
26
 
 
27
 
    void Go();
28
 
    wxString GetDisplayCmd(int step);
29
 
    wxString GetCmd(int step);
30
 
    
31
 
private:
32
 
    wxString GetHelpPage() const;
33
 
    void OnChange(wxCommandEvent &ev);
34
 
    void OnSelectFilename(wxCommandEvent &ev);
35
 
    wxString getCmdPart1();
36
 
    wxString getCmdPart2();
37
 
    void OnOK(wxCommandEvent &ev);
38
 
 
39
 
    pgObject *object;
40
 
    wxString processedFile;
41
 
 
42
 
    DECLARE_EVENT_TABLE()
43
 
};
44
 
 
45
 
 
46
 
class backupServerFactory : public contextActionFactory
47
 
{
48
 
public:
49
 
    backupServerFactory(menuFactoryList *list, wxMenu *mnu, wxToolBar *toolbar);
50
 
    wxWindow *StartDialog(frmMain *form, pgObject *obj);
51
 
    bool CheckEnable(pgObject *obj);
52
 
};
53
 
 
54
 
#endif
 
1
//////////////////////////////////////////////////////////////////////////
 
2
//
 
3
// pgAdmin III - PostgreSQL Tools
 
4
// RCS-ID:      $Id: frmBackupServer.h 7758 2009-03-26 20:49:59Z dpage $
 
5
// Copyright (C) 2002 - 2009, The pgAdmin Development Team
 
6
// This software is released under the BSD Licence
 
7
//
 
8
// frmBackupServer.h - Backup server dialogue
 
9
//
 
10
//////////////////////////////////////////////////////////////////////////
 
11
 
 
12
 
 
13
#ifndef FRMBACKUPSERVER_H
 
14
#define FRMBACKUPSERVER_H
 
15
 
 
16
#include "dlg/dlgClasses.h"
 
17
#include "utils/factory.h"
 
18
 
 
19
class frmMain;
 
20
 
 
21
class frmBackupServer : public ExternProcessDialog
 
22
{
 
23
public:
 
24
    frmBackupServer(frmMain *form, pgObject *_object);
 
25
    ~frmBackupServer();
 
26
 
 
27
    void Go();
 
28
    wxString GetDisplayCmd(int step);
 
29
    wxString GetCmd(int step);
 
30
    
 
31
private:
 
32
    wxString GetHelpPage() const;
 
33
    void OnChange(wxCommandEvent &ev);
 
34
    void OnSelectFilename(wxCommandEvent &ev);
 
35
    wxString getCmdPart1();
 
36
    wxString getCmdPart2();
 
37
    void OnOK(wxCommandEvent &ev);
 
38
 
 
39
    pgObject *object;
 
40
    wxString processedFile;
 
41
 
 
42
    DECLARE_EVENT_TABLE()
 
43
};
 
44
 
 
45
 
 
46
class backupServerFactory : public contextActionFactory
 
47
{
 
48
public:
 
49
    backupServerFactory(menuFactoryList *list, wxMenu *mnu, ctlMenuToolbar *toolbar);
 
50
    wxWindow *StartDialog(frmMain *form, pgObject *obj);
 
51
    bool CheckEnable(pgObject *obj);
 
52
};
 
53
 
 
54
#endif