2013-06-21 17:21:11 -05:00
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// pgAdmin 4 - PostgreSQL Tools
|
|
|
|
//
|
2016-01-18 08:33:28 -06:00
|
|
|
// Copyright (C) 2013 - 2016, The pgAdmin Development Team
|
2013-06-21 17:21:11 -05:00
|
|
|
// This software is released under the PostgreSQL Licence
|
|
|
|
//
|
|
|
|
// pgAdmin4.h - Main application header
|
|
|
|
//
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef PGADMIN4_H
|
|
|
|
#define PGADMIN4_H
|
|
|
|
|
2013-06-21 17:32:32 -05:00
|
|
|
// Include the Python header here as it needs to appear before any QT
|
|
|
|
// headers anywhere in the app.
|
|
|
|
#include <Python.h>
|
|
|
|
|
2013-06-21 17:21:11 -05:00
|
|
|
// QT headers
|
|
|
|
#include <QtGlobal>
|
|
|
|
|
|
|
|
#if QT_VERSION >= 0x050000
|
|
|
|
#include <QtWidgets>
|
|
|
|
#else
|
|
|
|
#include <QApplication>
|
2016-02-23 03:10:49 -06:00
|
|
|
#include <QtGui>
|
2016-01-18 08:33:28 -06:00
|
|
|
#include <Qt/qurl.h>
|
2013-06-21 17:21:11 -05:00
|
|
|
#endif
|
|
|
|
|
2013-06-21 18:49:40 -05:00
|
|
|
// Application name
|
|
|
|
const QString PGA_APP_NAME = QString("pgAdmin 4");
|
|
|
|
|
2013-10-04 12:16:31 -05:00
|
|
|
// Global function prototypes
|
|
|
|
int main(int argc, char * argv[]);
|
|
|
|
bool PingServer(QUrl url);
|
|
|
|
|
2013-06-21 17:21:11 -05:00
|
|
|
#endif // PGADMIN4_H
|