79 lines
2.3 KiB
C++
79 lines
2.3 KiB
C++
// FileZilla Server - a Windows ftp server
|
|
|
|
// Copyright (C) 2002-2004 - Tim Kosse <tim.kosse@gmx.de>
|
|
|
|
// This program is free software; you can redistribute it and/or
|
|
// modify it under the terms of the GNU General Public License
|
|
// as published by the Free Software Foundation; either version 2
|
|
// of the License, or (at your option) any later version.
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with this program; if not, write to the Free Software
|
|
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
#if !defined(AFX_STATUSView_H__7B174A5E_3D67_4C34_A7B0_A1B3F05BF18C__INCLUDED_)
|
|
#define AFX_STATUSView_H__7B174A5E_3D67_4C34_A7B0_A1B3F05BF18C__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// StatusView.h : Header-Datei
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// Ansicht CStatusView
|
|
class CStatusCtrl;
|
|
|
|
class CStatusView : public CView
|
|
{
|
|
protected:
|
|
CStatusView(); // Dynamische Erstellung verwendet geschützten Konstruktor
|
|
DECLARE_DYNCREATE(CStatusView)
|
|
|
|
// Attribute
|
|
public:
|
|
|
|
// Operationen
|
|
public:
|
|
void ShowStatus(LPCTSTR status, int type);
|
|
|
|
// Überschreibungen
|
|
// Vom Klassen-Assistenten generierte virtuelle Funktionsüberschreibungen
|
|
//{{AFX_VIRTUAL(CStatusView)
|
|
protected:
|
|
virtual void OnDraw(CDC* pDC);
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementierung
|
|
protected:
|
|
virtual ~CStatusView();
|
|
#ifdef _DEBUG
|
|
virtual void AssertValid() const;
|
|
virtual void Dump(CDumpContext& dc) const;
|
|
#endif
|
|
|
|
// Generierte Nachrichtenzuordnungsfunktionen
|
|
protected:
|
|
CStatusCtrl *m_pStatusCtrl;
|
|
|
|
//{{AFX_MSG(CStatusView)
|
|
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
|
|
afx_msg void OnSize(UINT nType, int cx, int cy);
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
public:
|
|
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
|
|
};
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ fügt unmittelbar vor der vorhergehenden Zeile zusätzliche Deklarationen ein.
|
|
|
|
#endif // AFX_STATUSView_H__7B174A5E_3D67_4C34_A7B0_A1B3F05BF18C__INCLUDED_
|