~ubuntu-branches/debian/squeeze/pgadmin3/squeeze

« back to all changes in this revision

Viewing changes to pgadmin/include/debugger/ctlMessageWindow.h

  • Committer: Bazaar Package Importer
  • Author(s): Lionel Porcheron
  • Date: 2008-02-07 00:56:22 UTC
  • mto: (2.1.6 hardy) (6.1.2 sid)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20080207005622-c2ail8p4d0sk3dnw
Tags: upstream-1.8.2
ImportĀ upstreamĀ versionĀ 1.8.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//////////////////////////////////////////////////////////////////////////
 
2
//
 
3
// pgAdmin III - PostgreSQL Tools
 
4
// RCS-ID:      $Id: ctlMessageWindow.h 6136 2007-03-29 10:38:10Z hiroshi $
 
5
// Copyright (C) 2002 - 2008, The pgAdmin Development Team
 
6
// This software is released under the Artistic Licence
 
7
//
 
8
// ctlMessageWindow.h - debugger 
 
9
//
 
10
//////////////////////////////////////////////////////////////////////////
 
11
 
 
12
////////////////////////////////////////////////////////////////////////////////
 
13
//      class ctlMessageWindow
 
14
//
 
15
//      This class implements the window that displays DBMS messages at the 
 
16
//  bottom of the debugger window.  When we create a ctlMessageWindow, the parent
 
17
//      is a ctlTabWindow (the ctlMessageWindow becomes a tab in a tab control).
 
18
//
 
19
////////////////////////////////////////////////////////////////////////////////
 
20
 
 
21
#ifndef CTLMESSAGEWINDOW_H
 
22
#define CTLMESSAGEWINDOW_H
 
23
 
 
24
class ctlMessageWindow : public wxTextCtrl
 
25
{
 
26
    DECLARE_CLASS( ctlMessageWindow )
 
27
 
 
28
public:
 
29
        ctlMessageWindow( wxWindow * parent, wxWindowID id );
 
30
 
 
31
        void    addMessage( wxString message ); // Add a message to the window
 
32
        void    delMessage( const char * name = NULL );                                                             // Remove a message from the window
 
33
        wxString        getMessage( int row );
 
34
 
 
35
private:
 
36
 
 
37
    typedef struct
 
38
    {
 
39
        int     m_row;          // Row number for this variable/grid cell
 
40
    } gridCell;
 
41
};
 
42
 
 
43
#endif