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

« back to all changes in this revision

Viewing changes to xtra/pgagent/include/pgAgent.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
 
// pgAgent - PostgreSQL Tools
4
 
// $Id: pgAgent.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
 
// pgAgent.h - main include
9
 
//
10
 
//////////////////////////////////////////////////////////////////////////
11
 
 
12
 
 
13
 
#ifndef PGAGENT_H
14
 
#define PGAGENT_H
15
 
 
16
 
// Disable all the GUI classes that might get pulled in through the headers
17
 
#define wxUSE_GUI 0
18
 
 
19
 
#include <wx/wx.h>
20
 
 
21
 
#include "misc.h"
22
 
#include "connection.h"
23
 
#include "job.h"
24
 
 
25
 
extern long longWait;
26
 
extern long shortWait;
27
 
extern long minLogLevel;
28
 
extern wxString connectString;
29
 
extern wxString serviceDBname;
30
 
extern wxString backendPid;
31
 
 
32
 
#ifndef __WXMSW__
33
 
extern bool runInForeground;
34
 
extern wxString logFile;
35
 
#endif
36
 
 
37
 
// Log levels
38
 
enum
39
 
{
40
 
        LOG_ERROR = 0,
41
 
        LOG_WARNING,
42
 
        LOG_DEBUG
43
 
};
44
 
 
45
 
// Prototypes
46
 
void LogMessage(wxString msg, int level);
47
 
void MainLoop();
48
 
 
49
 
#ifdef __WIN32__
50
 
#include <windows.h>
51
 
void CheckForInterrupt();
52
 
HANDLE win32_popen_r(const TCHAR *command);
53
 
#endif
54
 
 
55
 
#endif // PGAGENT_H
56