mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-14 00:51:59 -05:00
Major refactoring of the runtime code, Specifically: - Move the bulk of the core code from main() into a new Runtime class. - Break up the mass of code that was main() into a number of relatively simple functions. - Make the Configuration dialog synchronous so the Log dialog can be properly viewed. - Enable/disable menu options at the right time. - Remove support for Qt < 5.0. - Remove the application name constant and hardcode the name to simplify the code. - Improve log messages. - Replace the sdbm hashing with Qt's MD5 hashing.
29 lines
635 B
C
29 lines
635 B
C
//////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// pgAdmin 4 - PostgreSQL Tools
|
|
//
|
|
// Copyright (C) 2013 - 2020, The pgAdmin Development Team
|
|
// This software is released under the PostgreSQL Licence
|
|
//
|
|
// pgAdmin4.h - Main application header
|
|
//
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef PGADMIN4_H
|
|
#define PGADMIN4_H
|
|
|
|
// QT headers
|
|
#include <QString>
|
|
|
|
// Global function prototypes
|
|
int main(int argc, char * argv[]);
|
|
|
|
QString getStartupLogFile();
|
|
QString getServerLogFile();
|
|
QString getAddressFile();
|
|
QString getExeHash();
|
|
|
|
void cleanup();
|
|
|
|
#endif // PGADMIN4_H
|