pgadmin3/include/frm/frmExport.h
2020-07-07 22:19:12 +05:00

43 lines
920 B
C++

//////////////////////////////////////////////////////////////////////////
//
// pgAdmin III - PostgreSQL Tools
//
// Copyright (C) 2002 - 2016, The pgAdmin Development Team
// This software is released under the PostgreSQL Licence
//
// frmExport.h - The export file dialogue
//
//////////////////////////////////////////////////////////////////////////
#ifndef FRMEXPORT_H
#define FRMEXPORT_H
class ctlSQLResult;
class pgSet;
#include "dlg/dlgClasses.h"
// Class declarations
class frmExport : public pgDialog
{
public:
frmExport(wxWindow *parent);
~frmExport();
bool Export(pgSet *set);
private:
void OnChange(wxCommandEvent &ev);
void OnHelp(wxCommandEvent &ev);
void OnOK(wxCommandEvent &ev);
void OnCancel(wxCommandEvent &ev);
void OnBrowseFile(wxCommandEvent &ev);
wxString InitXml(int cols, int rows);
bool ExportXls(ctlSQLResult *grid);
wxWindow *parent;
DECLARE_EVENT_TABLE()
};
#endif