| 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: stdafx.h,v 1.11 2006/02/04 13:11:21 orrisroot Exp $ */ |
| 23 |
|
| 24 |
// stdafx.h : include file for standard system include files, |
| 25 |
// or project specific include files that are used frequently, but |
| 26 |
// are changed infrequently |
| 27 |
|
| 28 |
#pragma once |
| 29 |
|
| 30 |
#ifndef VC_EXTRALEAN |
| 31 |
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers |
| 32 |
#endif |
| 33 |
|
| 34 |
// Modify the following defines if you have to target a platform prior to the ones specified below. |
| 35 |
// Refer to MSDN for the latest info on corresponding values for different platforms. |
| 36 |
#ifndef WINVER // Allow use of features specific to Windows 95 and Windows NT 4 or later. |
| 37 |
#define WINVER 0x0400 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later. |
| 38 |
#endif |
| 39 |
|
| 40 |
#ifndef _WIN32_WINNT // Allow use of features specific to Windows NT 4 or later. |
| 41 |
#define _WIN32_WINNT 0x0400 // Change this to the appropriate value to target Windows 2000 or later. |
| 42 |
#endif |
| 43 |
|
| 44 |
#ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later. |
| 45 |
#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. |
| 46 |
#endif |
| 47 |
|
| 48 |
#ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later. |
| 49 |
#define _WIN32_IE 0x0400 // Change this to the appropriate value to target IE 5.0 or later. |
| 50 |
#endif |
| 51 |
|
| 52 |
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit |
| 53 |
|
| 54 |
// Turns off MFC feature that hides of some common warning messages |
| 55 |
// that are frequently and safely ignored . |
| 56 |
#define _AFX_ALL_WARNINGS |
| 57 |
|
| 58 |
#include <afxwin.h> // MFC core and standard components |
| 59 |
#include <afxext.h> // MFC extensions |
| 60 |
|
| 61 |
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls |
| 62 |
#ifndef _AFX_NO_AFXCMN_SUPPORT |
| 63 |
#include <afxcmn.h> // MFC support for Windows Common Controls |
| 64 |
#endif // _AFX_NO_AFXCMN_SUPPORT |
| 65 |
|
| 66 |
#include <afxmt.h> // MFC threads |
| 67 |
|
| 68 |
typedef unsigned __int64 QWORD; // sspi.h |
| 69 |
#define LODWORD(l) ((DWORD)(l)) |
| 70 |
#define HIDWORD(h) ((DWORD)( ((QWORD)(h)>>32) & 0xffffffff)) |
| 71 |
#define MAKEQWORD(l, h) ((QWORD)(((QWORD)(l)) | ((QWORD)((DWORD)(h))) << 32)) |
| 72 |
|
| 73 |
// CSizingControlBar: resizable control bars |
| 74 |
// see http://www.datamekanix.com/sizecbar/ for an extensive overview. |
| 75 |
//#define _SCB_REPLACE_MINIFRAME |
| 76 |
#include "sizecbar.h" |
| 77 |
#include "scbarg.h" |
| 78 |
//#include "scbarcf.h" |
| 79 |
//#define baseCMyBar CSizingControlBarCF |
| 80 |
|
| 81 |
// CListCtrlEdit: extended CListCtrl class |
| 82 |
#include "ListCtrlEdit.h" |
| 83 |
|
| 84 |
#define DEFAULT_DATAVIEW_WIDTH 600 |
| 85 |
#define DEFAULT_DATAVIEW_HEIGHT 400 |
| 86 |
|
| 87 |
// depending library |
| 88 |
#include "libsl4.h" |
| 89 |
#include "libmcdata.h" |
| 90 |
#include "MultiChannelData.h" |