a99  V32.6
allegro Windows Hauptprogramm
 Alle Klassen Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Makrodefinitionen
warqa.h
gehe zur Dokumentation dieser Datei
1 // warqa.h : aresqa-Fenster
2 
3 // Copyright 2011 Universitätsbibliothek Braunschweig, more see bottom
4 
5 #if !defined(AFX_V25_H__4CF34EEF_C524_4E98_9A60_F08D6EBB5329__INCLUDED_)
6 #define AFX_V25_H__4CF34EEF_C524_4E98_9A60_F08D6EBB5329__INCLUDED_
7 
8 #if _MSC_VER > 1000
9 #pragma once
10 #endif // _MSC_VER > 1000
11 // warqa.h : aresqa Header-Datei
12 //
13 #include "aListBox.h"
14 #include "winx.h"
15 #include "getl.h"
16 
17 #define NULL 0
18 
19 /////////////////////////////////////////////////////////////////////////////
20 // Dialogfeld Warqa
21 
22 class Warqa : public CDialog
23 {
24 // Konstruktion
25 public:
26  Warqa(CWnd* pParent = NULL); // Standardkonstruktor
27  int DoModal();
28  int Srch(int p,int inc=0); // find a line
29  bool Warqa::Log(); // open next undo log file
30  void Warqa::SetC(int i); // set size field
31  void OnContextMenu(CWnd *,CPoint);
32  // Variablen
33 char cf; // Current Code. 1 = ASCII, 0 = ANSI
34 char cof; // original code 0 = ASCII, 1 = ANSI (!)
35 char kd[24]; // srch term
36 
37 int up; // undo position (<= ne)
38 int ne; // number of edits
39 int nE; // maximum during one session
40 
41 bool vwmod; // if true: ViewList (.vw), sonst normale Textdatei
42 
43 char line[4096]; // for data
44 char log[256]; // log file name
45 FILE *lg; // log file
46 
47 // Dialogfelddaten
48  //{{AFX_DATA(Warqa)
49  enum { IDD = IDD_ARESQA }; // see IDD_ARESQA in a99.rc
50  CButton m_cl;
51  CButton m_help;
52  CButton m_plu;
53  CButton m_min;
54  CButton m_code;
55  CStatic m_stx;
56  CButton m_add;
57  CButton m_undo;
58  CButton m_redo;
59  CButton m_x;
60  CEdit m_sz;
61  CButton m_sav;
62  CEdit m_sc;
63  CButton m_vo;
64  CButton m_vc;
66  CEdit m_srch;
67  //}}AFX_DATA
68 
69 
70 // Überschreibungen
71  // Vom Klassen-Assistenten generierte virtuelle Funktionsüberschreibungen
72  //{{AFX_VIRTUAL(Warqa)
73  protected:
74  virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV-Unterstützung
75  //}}AFX_VIRTUAL
76 
77 // Implementierung
78 protected:
79  HICON m_hIcon;
80 
81  // Generierte Nachrichtenzuordnungsfunktionen
82  //{{AFX_MSG(Warqa)
83  virtual void OnCancel();
84  afx_msg void OnSavbut();
85  virtual void OnOK();
86  afx_msg void OnCode();
87  afx_msg void OnBhelp();
88  afx_msg void editLine();
89  afx_msg void OnSelch();
90  afx_msg void OnSize(UINT nType, int cx, int cy);
91  afx_msg void OnMin();
92  afx_msg void OnPlu();
93  afx_msg void OnUndo();
94  afx_msg void OnRedo();
95  afx_msg void OnAdd();
96  afx_msg void OnSw();
97  afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
98  afx_msg void On_Ok();
99  afx_msg void OnCl();
100  //}}AFX_MSG
101  virtual BOOL OnInitDialog();
102  afx_msg LRESULT OnGoodbye(WPARAM wParam, LPARAM lParam);
103 
104  DECLARE_MESSAGE_MAP()
105 };
106 
107 //{{AFX_INSERT_LOCATION}}
108 // Microsoft Visual C++ fügt unmittelbar vor der vorhergehenden Zeile zusätzliche Deklarationen ein.
109 
110 #endif // AFX_V25_H__4CF34EEF_C524_4E98_9A60_F08D6EBB5329__INCLUDED_
111 
112 /*
113  Copyright 2011 Universitätsbibliothek Braunschweig
114 
115  Licensed under the Apache License, Version 2.0 (the "License");
116  you may not use this file except in compliance with the License.
117  You may obtain a copy of the License at
118 
119  http://www.apache.org/licenses/LICENSE-2.0
120 
121  Unless required by applicable law or agreed to in writing, software
122  distributed under the License is distributed on an "AS IS" BASIS,
123  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
124  See the License for the specific language governing permissions and
125  limitations under the License.
126 */
127 
128