Develop and Download Open Source Software

Browse CVS Repository

Contents of /satellite/neuromanager/neuromanager/SpikeViewProperties.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download) (as text)
Tue Mar 14 13:17:47 2006 UTC (18 years, 1 month ago) by orrisroot
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +16 -15 lines
File MIME type: text/x-c++src
added template code for data type plugins.

1 /* --------------------------------------------------------------------- */
2 /* NeuroManager - A spike train analysis tool */
3 /* Copyright (c) 2005-2006 RIKEN, Japan. All rights reserved. */
4 /* http://satellite.sourceforge.jp/ */
5 /* --------------------------------------------------------------------- */
6 /* This program is free software; you can redistribute it and/or */
7 /* modify it under the terms of the GNU General Public License */
8 /* as published by the Free Software Foundation; either version 2 */
9 /* of the License, or (at your option) any later version. */
10 /* */
11 /* This program is distributed in the hope that it will be useful, */
12 /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
13 /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
14 /* GNU General Public License for more details. */
15 /* */
16 /* You should have received a copy of the GNU General Public License */
17 /* along with this program; see the file COPYING.txt. If not, write */
18 /* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth */
19 /* Floor, Boston, MA 02110-1301, USA. */
20 /* --------------------------------------------------------------------- */
21
22 /* $Id: SpikeViewProperties.cpp,v 1.1 2006/02/04 13:38:16 orrisroot Exp $ */
23
24 // SpikeViewProperties.cpp : implementation of the CSpikeViewProperties class
25 //
26
27 #include "stdafx.h"
28 #include "NeuroManager.h"
29 #include "SpikeViewProperties.h"
30
31
32 // CSpikeViewProperties
33
34 IMPLEMENT_DYNCREATE( CSpikeViewProperties, CFormView )
35
36 CSpikeViewProperties::CSpikeViewProperties()
37 : CFormView( CSpikeViewProperties::IDD )
38 {
39 EnableActiveAccessibility();
40 EnableAutomation();
41 }
42
43 CSpikeViewProperties::~CSpikeViewProperties()
44 {}
45
46 void CSpikeViewProperties::OnFinalRelease()
47 {
48 // When the last reference for an automation object is released
49 // OnFinalRelease is called. The base class will automatically
50 // deletes the object. Add additional cleanup required for your
51 // object before calling the base class.
52
53 CFormView::OnFinalRelease();
54 }
55
56 void CSpikeViewProperties::DoDataExchange( CDataExchange* pDX )
57 {
58 CFormView::DoDataExchange( pDX );
59 }
60
61 BEGIN_MESSAGE_MAP( CSpikeViewProperties, CFormView )
62 END_MESSAGE_MAP()
63
64 BEGIN_DISPATCH_MAP( CSpikeViewProperties, CFormView )
65 END_DISPATCH_MAP()
66
67 // Note: we add support for IID_INeuroManager to support typesafe binding
68 // from VBA. This IID must match the GUID that is attached to the
69 // dispinterface in the .IDL file.
70
71 // {F713FD60-08B9-4ACB-A9C0-0F9BB1DC641A}
72 static const IID IID_ISpikeViewProperties =
73 {
74 0xF713FD60, 0x8B9, 0x4ACB, { 0xA9, 0xC0, 0xF, 0x9B, 0xB1, 0xDC, 0x64, 0x1A }
75 };
76
77 BEGIN_INTERFACE_MAP( CSpikeViewProperties, CFormView )
78 INTERFACE_PART( CSpikeViewProperties, IID_ISpikeViewProperties, Dispatch )
79 END_INTERFACE_MAP()
80
81
82 // CSpikeViewProperties diagnostics
83
84 #ifdef _DEBUG
85 void CSpikeViewProperties::AssertValid() const
86 {
87 CFormView::AssertValid();
88 }
89
90 void CSpikeViewProperties::Dump( CDumpContext& dc ) const
91 {
92 CFormView::Dump( dc );
93 }
94 #endif //_DEBUG
95
96
97 // CSpikeViewProperties message handlers

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26