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

« back to all changes in this revision

Viewing changes to pgadmin/include/pgscript/expressions/pgsExecute.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
// pgScript - PostgreSQL Tools
 
4
// RCS-ID:      $Id: pgsExecute.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
//////////////////////////////////////////////////////////////////////////
 
9
 
 
10
 
 
11
#ifndef PGSEXECUTE_H_
 
12
#define PGSEXECUTE_H_
 
13
 
 
14
#include "pgscript/pgScript.h"
 
15
#include "pgscript/expressions/pgsExpression.h"
 
16
 
 
17
class pgsOutputStream;
 
18
class pgsThread;
 
19
 
 
20
class pgsExecute : public pgsExpression
 
21
{
 
22
 
 
23
private:
 
24
 
 
25
        wxString m_query;
 
26
        
 
27
        pgsOutputStream * m_cout;
 
28
        
 
29
        pgsThread * m_app;
 
30
 
 
31
public:
 
32
 
 
33
        pgsExecute(const wxString & query, pgsOutputStream * cout = 0,
 
34
                        pgsThread * app = 0);
 
35
 
 
36
        virtual ~pgsExecute();
 
37
 
 
38
        /* pgsExecute(const pgsExecute & that); */
 
39
 
 
40
        pgsExecute & operator=(const pgsExecute & that);
 
41
 
 
42
        virtual pgsExpression * clone() const;
 
43
        
 
44
        virtual wxString value() const;
 
45
 
 
46
        virtual pgsOperand eval(pgsVarMap & vars) const;
 
47
 
 
48
};
 
49
 
 
50
#endif /*PGSEXECUTE_H_*/