[go: up one dir, main page]

Menu

[r999]: / trunk / VTS3 / SendPage.cpp  Maximize  Restore  History

Download this file

98 lines (80 with data), 1.9 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
// SendPage.cpp : implementation file
//
#include "stdafx.h"
#include "VTS.h"
#include "SendPage.h"
#include "Send.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CSendPage
//
// CSendPage::CSendPage
//
CSendPage::CSendPage( UINT id )
: CPropertyPage( id )
, pageParent(0)
{
isShown = FALSE; //Xiao Shiyuan 2002-12-5
}
//
// CSendPage::~CSendPage
//
CSendPage::~CSendPage( void )
{
}
//
// CSendPage::UpdateEncoded
//
void CSendPage::UpdateEncoded( void )
{
if (pageParent)
pageParent->UpdateEncoded();
}
//
// CSendPage::InitPage
//
// This function should be overridden to initialize its member variables
// when it gets installed. There may be information in the port that will
// be useful.
//
void CSendPage::InitPage( void )
{
}
//
// CSendPage::EncodePage
//
// This function should be overridden to encode the contents of the page
// into the byte array. If the page is at the top of the protocol stack
// it will be empty, othersize it will contain the results of the upper
// layers.
//
// Most pages add some prefix information to what was generated at the
// higher levels, some modify the contents, like the special character
// processing of PTP. Someday there will be a security BVLL, so the contents
// could be encrypted.
//
void CSendPage::EncodePage( CByteArray* contents )
{
}
//
// CSendPage::SavePage
//
// This function is called to make a backup of the contents of a page so
// the next time the page is displayed the contents can be restored.
//
void CSendPage::SavePage( void )
{
}
//
// CSendPage::RestorePage
//
// This function is called at the end of InitPage to restore the page contents
// to what they were when the page was last saved.
//
void CSendPage::RestorePage( int )
{
}