Merge commit 'ocaml3102'
[ocaml.git] / win32caml / history.h
bloba9ba85841b61bbf596a1ff2cbedc8e944b34742b
1 /***********************************************************************/
2 /* */
3 /* Objective Caml */
4 /* */
5 /* Jacob Navia, after Xavier Leroy */
6 /* */
7 /* Copyright 2001 Institut National de Recherche en Informatique et */
8 /* en Automatique. All rights reserved. This file is distributed */
9 /* under the terms of the GNU Library General Public License, with */
10 /* the special exception on linking described in file ../LICENSE. */
11 /* */
12 /***********************************************************************/
14 /***********************************************************************/
15 /* Changes made by Chris Watford to enhance the source editor */
16 /* Began 14 Sept 2003 - watford@uiuc.edu */
17 /***********************************************************************/
19 #ifndef _HISTORY_H_
20 #define _HISTORY_H_
22 #include "editbuffer.h"
24 // Simple linked list for holding the history lines
25 typedef struct tagStatementHistory {
26 struct tagStatementHistory *Next;
27 struct tagStatementHistory *Prev;
28 EditBuffer *Statement;
29 } StatementHistory;
31 void AddToHistory (EditBuffer *edBuf);
32 char *GetHistoryLine (int n);
33 static BOOL CALLBACK HistoryDlgProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
35 #endif