summaryrefslogtreecommitdiffstats
path: root/src/windows/leash/LeashDoc.cpp
diff options
context:
space:
mode:
authorSam Hartman <hartmans@mit.edu>2011-09-28 21:02:14 +0000
committerSam Hartman <hartmans@mit.edu>2011-09-28 21:02:14 +0000
commitcaef99b21536d9e8c2f9c637fcf020b4e082db5d (patch)
treeb360ec8449876ea170691685cde758d9849fc8ef /src/windows/leash/LeashDoc.cpp
parent8481c14298a1886f63bec0d7cdfd800a86b4c127 (diff)
downloadkrb5-caef99b21536d9e8c2f9c637fcf020b4e082db5d.tar.gz
krb5-caef99b21536d9e8c2f9c637fcf020b4e082db5d.tar.xz
krb5-caef99b21536d9e8c2f9c637fcf020b4e082db5d.zip
Initial import of KFW 3.2.2 Leash32 code
Signed-off-by: Alexey Melnikov <aamelnikov@gmail.com> git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25278 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/windows/leash/LeashDoc.cpp')
-rw-r--r--src/windows/leash/LeashDoc.cpp94
1 files changed, 94 insertions, 0 deletions
diff --git a/src/windows/leash/LeashDoc.cpp b/src/windows/leash/LeashDoc.cpp
new file mode 100644
index 000000000..af4a9b8f6
--- /dev/null
+++ b/src/windows/leash/LeashDoc.cpp
@@ -0,0 +1,94 @@
+// **************************************************************************************
+// File: LeashDoc.cpp
+// By: Arthur David Leather
+// Created: 12/02/98
+// Copyright @1998 Massachusetts Institute of Technology - All rights reserved.
+// Description: CPP file for LeashDoc.h. Contains variables and functions
+// for Leash
+//
+// History:
+//
+// MM/DD/YY Inits Description of Change
+// 12/02/98 ADL Original
+// **************************************************************************************
+
+
+#include "stdafx.h"
+#include "Leash.h"
+
+#include "LeashDoc.h"
+
+#ifdef _DEBUG
+#define new DEBUG_NEW
+#undef THIS_FILE
+static char THIS_FILE[] = __FILE__;
+#endif
+
+/////////////////////////////////////////////////////////////////////////////
+// LeashDoc
+
+IMPLEMENT_DYNCREATE(LeashDoc, CDocument)
+
+BEGIN_MESSAGE_MAP(LeashDoc, CDocument)
+ //{{AFX_MSG_MAP(LeashDoc)
+ //}}AFX_MSG_MAP
+END_MESSAGE_MAP()
+
+/////////////////////////////////////////////////////////////////////////////
+// LeashDoc construction/destruction
+
+LeashDoc::LeashDoc()
+{
+ // TODO: add one-time construction code here
+
+}
+
+LeashDoc::~LeashDoc()
+{
+}
+
+BOOL LeashDoc::OnNewDocument()
+{
+ if (!CDocument::OnNewDocument())
+ return FALSE;
+
+ // TODO: add reinitialization code here
+ // (SDI documents will reuse this document)
+
+ return TRUE;
+}
+
+
+
+/////////////////////////////////////////////////////////////////////////////
+// LeashDoc serialization
+
+void LeashDoc::Serialize(CArchive& ar)
+{
+ if (ar.IsStoring())
+ {
+ // TODO: add storing code here
+ }
+ else
+ {
+ // TODO: add loading code here
+ }
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// LeashDoc diagnostics
+
+#ifdef _DEBUG
+void LeashDoc::AssertValid() const
+{
+ CDocument::AssertValid();
+}
+
+void LeashDoc::Dump(CDumpContext& dc) const
+{
+ CDocument::Dump(dc);
+}
+#endif //_DEBUG
+
+/////////////////////////////////////////////////////////////////////////////
+// LeashDoc commands