~ubuntu-branches/ubuntu/utopic/pgadmin3/utopic-proposed

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Christoph Berg
  • Date: 2013-09-10 16:16:38 UTC
  • mfrom: (1.3.4)
  • Revision ID: package-import@ubuntu.com-20130910161638-wwup1q553ylww7dr
Tags: 1.18.0-1
* New upstream release.
* Don't install /usr/bin/png2c anymore.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
//
3
3
// pgAdmin III - PostgreSQL Tools
4
4
// RCS-ID:
5
 
// Copyright (C) 2002 - 2012, The pgAdmin Development Team
 
5
// Copyright (C) 2002 - 2013, The pgAdmin Development Team
6
6
// This software is released under the PostgreSQL Licence
7
7
//
8
8
// ctlTabWindow.h - debugger
32
32
#include "debugger/ctlStackWindow.h"
33
33
#include "debugger/ctlResultGrid.h"
34
34
 
35
 
WX_DECLARE_HASH_MAP( int, int, wxIntegerHash, wxIntegerEqual, wsTabHash );
 
35
WX_DECLARE_HASH_MAP(int, int, wxIntegerHash, wxIntegerEqual, wsTabHash);
36
36
 
37
37
class ctlTabWindow : public ctlAuiNotebook
38
38
{
39
 
        DECLARE_CLASS( ctlTabWindow )
 
39
        DECLARE_CLASS(ctlTabWindow)
40
40
 
41
41
public:
42
42
 
43
 
        ctlTabWindow(wxWindow *parent, wxWindowID id, const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize, long style = wxCLIP_CHILDREN | wxSW_3D, const wxString &name = wxT( "layoutWindow" ));
44
 
 
45
 
        ctlVarWindow    *getVarWindow( bool create = true );            // Returns a pointer to the local-variables window (creates it if requested)
46
 
        ctlVarWindow    *getPkgVarWindow( bool create = true ); // Returns a pointer to the package-variables window (creates it if requested)
47
 
        ctlVarWindow    *getParamWindow( bool create = true );          // Returns a pointer to the parameters window (creates it if requested)
48
 
 
49
 
        ctlResultGrid   *getResultWindow( void );                                       // Returns a pointer to the result window (creates it if necessary)
50
 
        ctlStackWindow  *getStackWindow( void );                                        // Returns a pointer to the stack-trace window (creates it if necessary)
51
 
        ctlMessageWindow *getMessageWindow( void );                                     // Returns a pointer to the DBMS messages window (creates it if necessary)
52
 
        void    selectTab( wxWindowID id );
 
43
        ctlTabWindow(wxWindow *parent, wxWindowID id,
 
44
                     const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize,
 
45
                     long style = wxCLIP_CHILDREN | wxSW_3D,
 
46
                     const wxString &name = wxT("layoutWindow"));
 
47
 
 
48
        ctlVarWindow      *GetVarWindow(bool create = true);    // Returns a pointer to the local-variables window (creates it if requested)
 
49
        ctlVarWindow      *GetPkgVarWindow(bool create = true); // Returns a pointer to the package-variables window (creates it if requested)
 
50
        ctlVarWindow      *GetParamWindow(bool create = true);  // Returns a pointer to the parameters window (creates it if requested)
 
51
 
 
52
        ctlResultGrid     *GetResultWindow();                   // Returns a pointer to the result window (creates it if necessary)
 
53
        ctlStackWindow    *GetStackWindow();                    // Returns a pointer to the stack-trace window (creates it if necessary)
 
54
        ctlMessageWindow  *GetMessageWindow();                  // Returns a pointer to the DBMS messages window (creates it if necessary)
 
55
        void               SelectTab(wxWindowID id);
53
56
 
54
57
private:
55
 
        ctlResultGrid   *m_resultWindow;        // Displays the result set from a query
56
 
        ctlVarWindow    *m_varWindow;           // Displays the local variables when debugging a PL function
57
 
        ctlVarWindow    *m_pkgVarWindow;        // Displays the package variables when debugging a PL function
58
 
        ctlStackWindow  *m_stackWindow;         // Displays the current call stack
59
 
        ctlVarWindow    *m_paramWindow;         // Displays the parameters when debugging a PL function
60
 
        ctlMessageWindow        *m_messageWindow;       // Displays the DBMS messages when debugging a PL function
 
58
        ctlResultGrid    *m_resultWindow;  // Displays the result set from a query
 
59
        ctlVarWindow     *m_varWindow;     // Displays the local variables when debugging a PL function
 
60
        ctlVarWindow     *m_pkgVarWindow;  // Displays the package variables when debugging a PL function
 
61
        ctlStackWindow   *m_stackWindow;   // Displays the current call stack
 
62
        ctlVarWindow     *m_paramWindow;   // Displays the parameters when debugging a PL function
 
63
        ctlMessageWindow *m_messageWindow; // Displays the DBMS messages when debugging a PL function
61
64
 
62
 
        wsTabHash       *m_tabMap;              // Map window ID's to tab numbers;
 
65
        wsTabHash        *m_tabMap;        // Map window ID's to tab numbers;
63
66
};
64
67
 
65
68
#endif