90 lines
2.0 KiB
C++
90 lines
2.0 KiB
C++
// spView.h : interface of the CSpView class
|
|
//
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#if !defined(AFX_SPVIEW_H__A74C37ED_FC36_11D3_964F_00C0F02C4B69__INCLUDED_)
|
|
#define AFX_SPVIEW_H__A74C37ED_FC36_11D3_964F_00C0F02C4B69__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
#include "label.h"
|
|
|
|
#include "gzk.h"
|
|
#include "gzrset.h"
|
|
#include "gzcombo.h"
|
|
|
|
|
|
class CSpView : public CFormView
|
|
{
|
|
public: // create from serialization only
|
|
CSpView();
|
|
DECLARE_DYNCREATE(CSpView)
|
|
GZK * cryp;
|
|
GZRset* rs;
|
|
CSpApp* m_pApp;
|
|
public:
|
|
//{{AFX_DATA(CSpView)
|
|
enum { IDD = IDD_SP_FORM };
|
|
//}}AFX_DATA
|
|
|
|
// Attributes
|
|
public:
|
|
CSpDoc* GetDocument();
|
|
|
|
// Operations
|
|
public:
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CSpView)
|
|
public:
|
|
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
virtual void OnInitialUpdate(); // called first time after construct
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
public:
|
|
|
|
CFrameWnd* GetActiveFrame();
|
|
bool ProcessLogin();
|
|
void ProcessSecurity(CString secure);
|
|
void SuperUser(CString user);
|
|
void AccessGranted();
|
|
void AccessDenied();
|
|
void Logout();
|
|
void DeActivate();
|
|
void Activate();
|
|
|
|
void DoStartup();
|
|
|
|
void SetAvailableOptions(bool NoOptions);
|
|
virtual ~CSpView();
|
|
#ifdef _DEBUG
|
|
virtual void AssertValid() const;
|
|
virtual void Dump(CDumpContext& dc) const;
|
|
#endif
|
|
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
protected:
|
|
//{{AFX_MSG(CSpView)
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
#ifndef _DEBUG // debug version in spView.cpp
|
|
inline CSpDoc* CSpView::GetDocument()
|
|
{ return (CSpDoc*)m_pDocument; }
|
|
#endif
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_SPVIEW_H__A74C37ED_FC36_11D3_964F_00C0F02C4B69__INCLUDED_)
|